diff --git a/lutim.conf.template b/lutim.conf.template index c35db7b..5ab20b3 100644 --- a/lutim.conf.template +++ b/lutim.conf.template @@ -11,5 +11,6 @@ length => 8, # optional provis_step => 5, # optional provisionning => 100, # optional + hosted_by => 'My super hoster Hoster logo', # optional tweet_card_via => '@framasky' # optional }; diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 0ea5208..a89e4bd 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -36,16 +36,25 @@
-

Let's Upload That Image!

-

- © 2014 <%= link_to 'http://www.fiat-tux.fr' => begin %>Luc Didry<% end %> —  - <%=l 'license' %> <%= link_to 'https://www.gnu.org/licenses/agpl-3.0.html' => begin %>AGPL<% end %> —  - <%=l 'informations' %> —  - <%= link_to 'https://github.com/ldidry/lutim' => (title => l 'fork-me') => begin %><% end %>  - <%= link_to $twitter_url => (title => l 'share-twitter') => begin %><% end %>  - <%= link_to 'https://flattr.com/submit/auto?user_id=_SKy_&url='.$url.'&title=LUTIm&category=software' => (title => 'Flattr this') => begin %><% end %>  - <%= link_to 'bitcoin:1K3n4MXNRSMHk28oTfXEvDunWFthePvd8v?label=lutim' => (title => 'Give Bitcoins') => begin %><% end %> -

+
+% if (defined(config('hosted_by'))) { +
+ <%== config('hosted_by') %> +
+% } +
+

Let's Upload That Image!

+

+ © 2014 <%= link_to 'http://www.fiat-tux.fr' => begin %>Luc Didry<% end %> —  + <%=l 'license' %> <%= link_to 'https://www.gnu.org/licenses/agpl-3.0.html' => begin %>AGPL<% end %> —  + <%=l 'informations' %> —  + <%= link_to 'https://github.com/ldidry/lutim' => (title => l 'fork-me') => begin %><% end %>  + <%= link_to $twitter_url => (title => l 'share-twitter') => begin %><% end %>  + <%= link_to 'https://flattr.com/submit/auto?user_id=_SKy_&url='.$url.'&title=LUTIm&category=software' => (title => 'Flattr this') => begin %><% end %>  + <%= link_to 'bitcoin:1K3n4MXNRSMHk28oTfXEvDunWFthePvd8v?label=lutim' => (title => 'Give Bitcoins') => begin %><% end %> +

+
+
<%= content %>