Changeset 32fbb9f in osmose-frontend


Ignore:
Timestamp:
Oct 11, 2014 6:50:54 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Children:
84f6b00
Parents:
ef55c07
git-author:
osmose <osmose@…> (07/10/2014 23:04:29)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (11/10/2014 18:50:54)
Message:

Fix %rebase in templates for bottle 0.12

Location:
views
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • views/404.tpl

    r95a622e r32fbb9f  
    1 %rebase layout title="Error: 404 Not Found" 
     1%rebase('layout.tpl', title="Error: 404 Not Found") 
    22<h1>Error: 404 Not Found</h1> 
    33<p>File does not exist.</p> 
  • views/byuser/byuser-stats.tpl

    r300533f r32fbb9f  
    1 %rebase layout title=_("Users statistics") 
     1%rebase('layout.tpl', title=_("Users statistics")) 
    22<table> 
    33  <tr> 
  • views/byuser/byuser.tpl

    r370abfd r32fbb9f  
    11%rss="http://"+website+"/byuser/"+username+".rss" 
    2 %rebase layout title=(_("Statistics for user %s") % ", ".join(users)), rss=rss 
     2%rebase('layout.tpl', title=(_("Statistics for user %s") % ", ".join(users)), rss=rss) 
    33<h1>{{_("User statistics for %s") % ", ".join(users)}}</h1> 
    44<p>{{_("This page shows errors on elements that were last modified by '%s'. This doesn't means that this user is responsible for all these errors.") % "', '".join(users)}}</p> 
  • views/byuser/index.tpl

    r95a622e r32fbb9f  
    1 %rebase layout title=_("Statistics for user") 
     1%rebase('layout.tpl', title=_("Statistics for user")) 
    22<h1>{{_("User statistics")}}</h1> 
    33{{_("Osmose allows you to control your own errors.")}}<br> 
  • views/contact.tpl

    r5124c50 r32fbb9f  
    1 %rebase layout title=_("Contact") 
     1%rebase('layout.tpl', title=_("Contact")) 
    22<h1>{{_("Bug tracker")}}</h1> 
    33<p>{{! _("Bug should be reported on <a href='http://trac.openstreetmap.fr'>trac</a>. The component to pick should be osmose-frontend for issues around the website, and osmose-backend for issues on the reported errors, or for suggestion for new analyses.")}}</p> 
  • views/control/update.tpl

    r91dcf8c r32fbb9f  
    1 %rebase layout title=_("Update") 
     1%rebase('layout.tpl', title=_("Update")) 
    22<table> 
    33<tr> 
  • views/control/updates.tpl

    ra300c14 r32fbb9f  
    1 %rebase layout title=_("Last updates") 
     1%rebase('layout.tpl', title=_("Last updates")) 
    22<p>{{_("Median delay:")}} {{(liste[len(liste)/2][2]) if len(liste)>0 else ""}}</p> 
    33<table> 
  • views/control/updates_matrix.tpl

    r483e49e r32fbb9f  
    1 %rebase layout title=_("Last updates") 
     1%rebase('layout.tpl', title=_("Last updates")) 
    22%def col(t, v): 
    33%            if v > 4.05: 
  • views/copyright.tpl

    rcbe72ac r32fbb9f  
    1 %rebase layout title=_("Copyright informations") 
     1%rebase('layout.tpl', title=_("Copyright informations")) 
    22<h1>{{_("License")}}</h1> 
    33<p>This program is free software: you can redistribute it and/or modify 
  • views/error/index.tpl

    r300533f r32fbb9f  
    1 %rebase layout title=_("Information on error %d") % err_id, favicon="../images/markers/marker-l-%s.png" % marker['item'] 
     1%rebase('layout.tpl', title=_("Information on error %d") % err_id, favicon="../images/markers/marker-l-%s.png" % marker['item']) 
    22%def show_html_results(columns, res): 
    33<table class="sortable" id ="table_marker"> 
  • views/errors/index.tpl

    ref55c07 r32fbb9f  
    77%end 
    88%rss="http://"+website+"/errors.rss?%s" % query 
    9 %rebase layout title=title, favicon=favicon, rss=rss 
     9%rebase('layout.tpl', title=title, favicon=favicon, rss=rss) 
    1010<a href=".?{{query}}">{{_("Informations")}}</a> 
    1111<a href="done?{{query}}">{{_("Fixed")}}</a> 
  • views/false-positive/index.tpl

    r034ae3f r32fbb9f  
    1 %rebase layout title=_("Information on error %d") % err_id, favicon="../images/markers/marker-l-%s.png" % marker['item'] 
     1%rebase('layout.tpl', title=_("Information on error %d") % err_id, favicon="../images/markers/marker-l-%s.png" % marker['item']) 
    22%def show_html_results(columns, res): 
    33<table class="sortable" id ="table_marker"> 
  • views/index.tpl

    r95a622e r32fbb9f  
    1 %rebase layout title=_('OpenStreetMap Oversight Search Engine') 
     1%rebase('layout.tpl', title=_('OpenStreetMap Oversight Search Engine')) 
    22<h1>Osmose</h1> 
    33<ul> 
  • views/translation.tpl

    raca963f r32fbb9f  
    1 %rebase layout title=(_("How to help translation")) 
     1%rebase('layout.tpl', title=(_("How to help translation"))) 
    22<h1>{{_("How to help translation")}}</h1> 
    33<p>{{_("OsmOse tool is mainly developped by french people, and we aim to add more languages. We currently cover almost all the languages used by countries covered by analyses.")}} 
Note: See TracChangeset for help on using the changeset viewer.