X-Git-Url: https://coquelicot.potager.org/gitweb/?p=coquelicot.git;a=blobdiff_plain;f=views%2Flayout.haml;h=0a511396bb7537a2d1a7d7b852b6c4fb7669ad23;hp=1552e0255dbaff22c7ab2efaa8133d63a5f80db5;hb=b047f59176633faa97742db13ac66f6b00a4b1fe;hpb=34e103e7361b3c029ee5d12e21a7b2ae6fa397e6 diff --git a/views/layout.haml b/views/layout.haml index 1552e02..0a51139 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -1,3 +1,20 @@ +-# Coquelicot: "one-click" file sharing with a focus on users' privacy. +-# Copyright © 2010-2012 potager.org +-# © 2011 mh / immerda.ch +-# +-# This program is free software: you can redistribute it and/or modify +-# it under the terms of the GNU Affero General Public License as +-# published by the Free Software Foundation, either version 3 of the +-# License, or (at your option) any later version. +-# +-# This program is distributed in the hope that it will be useful, +-# but WITHOUT ANY WARRANTY; without even the implied warranty of +-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-# GNU Affero General Public License for more details. +-# +-# You should have received a copy of the GNU Affero General Public License +-# along with this program. If not, see . + !!! XML !!! Strict %html @@ -7,6 +24,8 @@ %base{ :href => base_href } %link{ :rel => 'stylesheet', :href => "style.css", :type => 'text/css', :media => "screen, projection" } + - unless settings.additional_css.empty? + %link{ :rel => 'stylesheet', :href => "#{settings.additional_css}", :type => 'text/css', :media => "screen, projection" } %script{ :type => 'text/javascript', :src => 'javascripts/jquery.min.js' } %script{ :type => 'text/javascript', :src => 'javascripts/jquery.lightBoxFu.js' } %script{ :type => 'text/javascript', :src => 'javascripts/jquery.uploadProgress.js' } @@ -14,7 +33,7 @@ var i18n = { generateRandomPassword: _('Generate random'), generatingRandomPassword: _('Generating…'), pleaseTryAgain: _('Please try again!'), - error: _('Error: '), + error: _('Error:'), uploadStarting: _('Upload starting...'), uploading: _('Uploading: '), kb: _('kB'), @@ -24,10 +43,10 @@ #container = yield #footer - %span Coquelicot © 2010 potager.org + %span= 'Coquelicot © 2010-2012 potager.org' %span - — - %a{ :href => 'http://www.gnu.org/licenses/agpl.txt' } AGPLv3 - — + = '—' + %a{ :href => 'http://www.gnu.org/licenses/agpl.txt' }= 'AGPLv3' + = '—' %span - %code git clone #{base_href}coquelicot.git + %code= "git clone #{clone_url}"