update templates

- bump copyright years and update program name
- fix escape call to work with webhelpers 1.3
This commit is contained in:
Jan Dittberner 2014-01-11 01:33:45 +01:00
parent 275885cb41
commit 4e18b2bd53
2 changed files with 28 additions and 29 deletions

View file

@ -3,23 +3,22 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%doc> <%doc>
Base template for XHTML templates. Base template for XHTML templates.
Copyright © 2009, 2010 Jan Dittberner <jan@dittberner.info> Copyright © 2009-2014 Jan Dittberner <jan@dittberner.info>
This file is part of DDPortfolio service. This file is part of the Debian Member Portfolio service.
DDPortfolio service is free software: you can redistribute it and/or Debian Member Portfolio service is free software: you can redistribute it
modify it under the terms of the GNU Affero General Public License as 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 published by the Free Software Foundation, either version 3 of the License, or
License, or (at your option) any later version. (at your option) any later version.
DDPortfolio service is distributed in the hope that it will be useful, Debian Member Portfolio service is distributed in the hope that it will be
but WITHOUT ANY WARRANTY; without even the implied warranty of useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
Affero General Public License for more details. General Public License for more details.
You should have received a copy of the GNU Affero General Public You should have received a copy of the GNU Affero General Public License along
License along with this program. If not, see with this program. If not, see <http://www.gnu.org/licenses/>.
<http://www.gnu.org/licenses/>.
</%doc> </%doc>
<html> <html>
<head> <head>
@ -42,7 +41,7 @@ License along with this program. If not, see
${h.image(h.url('/images/agplv3-88x31.png'), _('AGPL - Free Software'), 88, 31, ${h.image(h.url('/images/agplv3-88x31.png'), _('AGPL - Free Software'), 88, 31,
id='agpllogo')} id='agpllogo')}
<p>${h.literal(_('''The service is available under the terms of the <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a> as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. You can <a href="%(browseurl)s" title="Gitweb repository browser URL">browse the source code</a> or clone it from <a href="%(cloneurl)s" title="git clone URL">%(cloneurl)s</a> using <a href="http://git-scm.com/">git</a>. If you want to translate this service to your language you can contribute at <a href="%(transifexurl)s" title="Debian Member Portfolio Service at Transifex">Transifex</a>.''') % dict((('browseurl', 'http://debianstuff.dittberner.info/gitweb.cgi?p=ddportfolioservice.git;a=summary'), ('cloneurl', 'http://debianstuff.dittberner.info/git/ddportfolioservice.git'), ('transifexurl', 'https://www.transifex.com/projects/p/debportfolioservice/'))))}</p> <p>${h.literal(_('''The service is available under the terms of the <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a> as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. You can <a href="%(browseurl)s" title="Gitweb repository browser URL">browse the source code</a> or clone it from <a href="%(cloneurl)s" title="git clone URL">%(cloneurl)s</a> using <a href="http://git-scm.com/">git</a>. If you want to translate this service to your language you can contribute at <a href="%(transifexurl)s" title="Debian Member Portfolio Service at Transifex">Transifex</a>.''') % dict((('browseurl', 'http://debianstuff.dittberner.info/gitweb.cgi?p=ddportfolioservice.git;a=summary'), ('cloneurl', 'http://debianstuff.dittberner.info/git/ddportfolioservice.git'), ('transifexurl', 'https://www.transifex.com/projects/p/debportfolioservice/'))))}</p>
<p>${_(u'''Copyright © 2009, 2010, 2011, 2012 Jan Dittberner''')}</p> <p>${_(u'''Copyright © 2009-2014 Jan Dittberner''')}</p>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
var flattr_url = '${request.scheme}://portfolio.debian.net/'; var flattr_url = '${request.scheme}://portfolio.debian.net/';

View file

@ -2,23 +2,23 @@
<%inherit file="base.mako" /> <%inherit file="base.mako" />
<%doc> <%doc>
Template for the data input form. Template for the data input form.
Copyright © 2009, 2010 Jan Dittberner <jan@dittberner.info>
This file is part of DDPortfolio service. Copyright © 2009-2014 Jan Dittberner <jan@dittberner.info>
DDPortfolio service is free software: you can redistribute it and/or This file is part of the Debian Member Portfolio service.
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.
DDPortfolio service is distributed in the hope that it will be useful, Debian Member Portfolio service is free software: you can redistribute it
but WITHOUT ANY WARRANTY; without even the implied warranty of and/or modify it under the terms of the GNU Affero General Public License as
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU published by the Free Software Foundation, either version 3 of the License, or
Affero General Public License for more details. (at your option) any later version.
You should have received a copy of the GNU Affero General Public Debian Member Portfolio service is distributed in the hope that it will be
License along with this program. If not, see useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
<http://www.gnu.org/licenses/>. 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 <http://www.gnu.org/licenses/>.
</%doc> </%doc>
<%def name="titleaddon()"> <%def name="titleaddon()">
- ${_('Enter your personal information')} - ${_('Enter your personal information')}
@ -40,7 +40,7 @@ ${h.form(h.url(action='urllist', controller='ddportfolio'), method='get')}
% endif % endif
</label><br /> </label><br />
${h.text('email', ${h.text('email',
h.escape(request.params.get('email', None), True), id='email')}<br /> h.escape(request.params.get('email', None)), id='email')}<br />
</div> </div>
<div id="showallfield" class="hidden"> <div id="showallfield" class="hidden">
${h.checkbox('showall', value='1', checked=False, id='showall')} ${h.checkbox('showall', value='1', checked=False, id='showall')}