diff options
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/about.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/templates/admin/dashboard.html | 16 | ||||
-rw-r--r-- | pyaggr3g470r/templates/admin/user.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/templates/home.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/templates/layout.html | 24 | ||||
-rw-r--r-- | pyaggr3g470r/templates/login.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/templates/management.html | 12 |
7 files changed, 30 insertions, 30 deletions
diff --git a/pyaggr3g470r/templates/about.html b/pyaggr3g470r/templates/about.html index d164d4bb..3c4304e5 100644 --- a/pyaggr3g470r/templates/about.html +++ b/pyaggr3g470r/templates/about.html @@ -4,7 +4,7 @@ <div class="jumbotron"> <p>{{ _('pyAggr3g470r is a simple news aggregator you can use everywhere.') }}</p> <p>{{ _('This software is under AGPLv3 license. You are welcome to copy, modify or - redistribute the <a href="https://bitbucket.org/cedricbonhomme/pyaggr3g470r/">source code</a> + redistribute the <a href="https://bitbucket.org/cedricbonhomme/pyaggr3g470r">source code</a> according to the <a href="https://www.gnu.org/licenses/agpl-3.0.html">Affero GPL</a> license.') }}</p> <p>{{ _('Found a bug? Report it <a href="https://bitbucket.org/cedricbonhomme/pyaggr3g470r/issues">here</a>.') }}</p> </div> diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html index 3e5b019e..6253ca62 100644 --- a/pyaggr3g470r/templates/admin/dashboard.html +++ b/pyaggr3g470r/templates/admin/dashboard.html @@ -20,29 +20,29 @@ <tr> <td>{{ loop.index }}</td> {% if user.id == current_user.id %} - <td><a href="/management/">{{ user.nickname }}</a> (It's you!)</td> + <td><a href="/management">{{ user.nickname }}</a> (It's you!)</td> {% else %} - <td><a href="/admin/user/{{ user.id }}/">{{ user.nickname }}</a></td> + <td><a href="/admin/user/{{ user.id }}">{{ user.nickname }}</a></td> {% endif %} <td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td> <td>{{ user.last_seen }}</td> <td> - <a href="/admin/user/{{ user.id }}/"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}"></i></a> - <a href="/admin/edit_user/{{ user.id }}/"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this user') }}"></i></a> + <a href="/admin/user/{{ user.id }}"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}"></i></a> + <a href="/admin/edit_user/{{ user.id }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this user') }}"></i></a> {% if user.id != current_user.id %} {% if user.activation_key == "" %} - <a href="/admin/disable_user/{{ user.id }}/"><i class="glyphicon glyphicon-ban-circle" title="Disable this account"></i></a> + <a href="/admin/disable_user/{{ user.id }}"><i class="glyphicon glyphicon-ban-circle" title="Disable this account"></i></a> {% else %} - <a href="/admin/enable_user/{{ user.id }}/"><i class="glyphicon glyphicon-ok-circle" title="Enable this account"></i></a> + <a href="/admin/enable_user/{{ user.id }}"><i class="glyphicon glyphicon-ok-circle" title="Enable this account"></i></a> {% endif %} - <a href="/admin/delete_user/{{ user.id }}/"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this user') }}" onclick="return confirm('{{ _('You are going to delete this account.') }}');"></i></a> + <a href="/admin/delete_user/{{ user.id }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this user') }}" onclick="return confirm('{{ _('You are going to delete this account.') }}');"></i></a> {% endif %} </td> </tr> {% endfor %} </tbody> </table> -<a href="/admin/create_user/" class="btn btn-default">{{ _('Add a new user') }}</a> +<a href="/admin/create_user" class="btn btn-default">{{ _('Add a new user') }}</a> <h1>{{ _('Send notification messages') }}</h1> <form action="" method="post"> {{ form.hidden_tag() }} diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html index d896e85f..8f911b92 100644 --- a/pyaggr3g470r/templates/admin/user.html +++ b/pyaggr3g470r/templates/admin/user.html @@ -5,7 +5,7 @@ {% block content %} <div class="container"> <div class="jumbotron"> - <a href="/admin/edit_user/{{ user.id }}/" class="btn btn-default">{{ _('Edit this user') }}</a> + <a href="/admin/edit_user/{{ user.id }}" class="btn btn-default">{{ _('Edit this user') }}</a> <h2>{{ _('Membership') }}</h2> <div class="row"> <div class="col-md-6"> diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index a68b71a4..81aeea9c 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -8,7 +8,7 @@ {% if feeds|count == 0 %} <div class="col-md-4 col-md-offset-4"> <h1>{{ _("You don't have any feeds.") }}</h1> - <h1><a href="/create_feed/">{{ _('Add some') }}</a>, {{ _('or') }} <a href="/management/#import">{{ _('upload an OPML file.') }}</a></h1> + <h1><a href="/create_feed">{{ _('Add some') }}</a>, {{ _('or') }} <a href="/management/#import">{{ _('upload an OPML file.') }}</a></h1> </div> {% else %} <div id="affix-nav" class="col-md-3 sidebar hidden-xs hidden-sm"> diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 8fc88d74..e97128f7 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -101,27 +101,27 @@ deployed on Heroku or on a traditional server." /> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ _('Articles') }} <b class="caret"></b></a> <ul class="dropdown-menu"> - <li><a accesskey="r" href="/fetch/">{{ _('Fetch') }}</a></li> - <li><a href="/mark_as/read/">{{ _('Mark all as read') }}</a></li> + <li><a accesskey="r" href="/fetch">{{ _('Fetch') }}</a></li> + <li><a href="/mark_as/read">{{ _('Mark all as read') }}</a></li> <li role="presentation" class="divider"></li> - <li><a href="/create_feed/">{{ _('Add a feed') }}</a></li> + <li><a href="/create_feed">{{ _('Add a feed') }}</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ _('Filter') }} <b class="caret"></b></a> <ul class="dropdown-menu"> - <li><a accesskey="u" href="/unread/">{{ _('Unread') }}</a></li> - <li><a accesskey="f" href="/favorites/">{{ _('Favorites') }}</a></li> - <li><a accesskey="i" href="/inactives/">{{ _('Inactive feeds') }}</a></li> - <li><a href="/feeds/">{{ _('All feeds') }}</a></li> - <li><a href="/history/">{{ _('History') }}</a></li> + <li><a accesskey="u" href="/unread">{{ _('Unread') }}</a></li> + <li><a accesskey="f" href="/favorites">{{ _('Favorites') }}</a></li> + <li><a accesskey="i" href="/inactives">{{ _('Inactive feeds') }}</a></li> + <li><a href="/feeds">{{ _('All feeds') }}</a></li> + <li><a href="/history">{{ _('History') }}</a></li> </ul> </li> - <li><a accesskey="m" href="/management/">{{ _('Management') }}</a></li> + <li><a accesskey="m" href="/management">{{ _('Management') }}</a></li> {% if g.user.is_admin() %} <li><a href="{{ url_for('dashboard') }}"><span class="glyphicon glyphicon-dashboard"></span> {{ _('Dashboard') }}</a></li> {% endif %} - <li><a href="/about/">{{ _('About') }}</a></li> + <li><a href="/about">{{ _('About') }}</a></li> <li><a href="{{ url_for('logout') }}">{{ _('Logout') }}</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> @@ -129,7 +129,7 @@ deployed on Heroku or on a traditional server." /> </a> <ul class="dropdown-menu"> <li> - <form class="navbar-form" method=get action="/search/" role="search"> + <form class="navbar-form" method=get action="/search" role="search"> <div class="input-group"> <input type="text" class="form-control" name="query" placeholder="Search"> </div> @@ -138,7 +138,7 @@ deployed on Heroku or on a traditional server." /> </ul> </li> {% else %} - <li><a href="/about/">{{ _('About') }}</a></li> + <li><a href="/about">{{ _('About') }}</a></li> {% endif %} </ul> </div><!-- /.navbar-collapse --> diff --git a/pyaggr3g470r/templates/login.html b/pyaggr3g470r/templates/login.html index e58b5d83..8bfbffa5 100644 --- a/pyaggr3g470r/templates/login.html +++ b/pyaggr3g470r/templates/login.html @@ -26,7 +26,7 @@ {{ form.submit(class_="btn") }} </form> </div> - <a href="/signup/" class="btn btn-default">{{ _('Sign up') }}</a> + <a href="/signup" class="btn btn-default">{{ _('Sign up') }}</a> <a href="/recover" class="btn btn-default">{{ _('Forgot password') }}</a> </div><!-- /.container --> diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html index 6264f307..6755281d 100644 --- a/pyaggr3g470r/templates/management.html +++ b/pyaggr3g470r/templates/management.html @@ -3,17 +3,17 @@ <div class="container"> <div class="jumbotron"> <h1>{{ _('Your subscriptions') }}</h1> - <p>{{ _('You are subscribed to') }} {{ nb_feeds }} <a href="/feeds">{{ _('feeds') }}</a>. {{ _('Add a') }} <a href="/create_feed/">{{ _('feed') }}</a>.</p> - <p>{{ nb_articles }} {{ _('articles are stored in the database with') }} {{ nb_unread_articles }} <a href="/unread/">{{ _('unread articles') }}</a>.</p> + <p>{{ _('You are subscribed to') }} {{ nb_feeds }} <a href="/feeds">{{ _('feeds') }}</a>. {{ _('Add a') }} <a href="/create_feed">{{ _('feed') }}</a>.</p> + <p>{{ nb_articles }} {{ _('articles are stored in the database with') }} {{ nb_unread_articles }} <a href="/unread">{{ _('unread articles') }}</a>.</p> {% if not_on_heroku %} - <a href="/index_database/" class="btn btn-default">{{ _('Index database') }}</a> + <a href="/index_database" class="btn btn-default">{{ _('Index database') }}</a> {% endif %} </div> <div class="jumbotron"> <h1>{{ _('Your Profile') }}</h1> <div class="row"> <div class="col-md-6"> - <p>{{ _('Update your') }} <a href="/profile/">{{ _('profile') }}</a>.</p> + <p>{{ _('Update your') }} <a href="/profile">{{ _('profile') }}</a>.</p> <p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p> <p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p> </div> @@ -23,7 +23,7 @@ </div> <div class="row"> <div class="col-md-12"> - <a href="/delete_account/" class="btn btn-default" onclick="return confirm('{{ _('You are going to delete your account.') }}');">{{ _('Delete your account') }}</a> + <a href="/delete_account" class="btn btn-default" onclick="return confirm('{{ _('You are going to delete your account.') }}');">{{ _('Delete your account') }}</a> </div> </div> </div> @@ -34,7 +34,7 @@ <button class="btn btn-default" type="submit">OK</button> </form> <br /> - <a href="/export_opml/" class="btn btn-default">{{ _('Export feeds to OPML') }}</a> + <a href="/export_opml" class="btn btn-default">{{ _('Export feeds to OPML') }}</a> <h1>{{ _('Data liberation') }}</h1> <form action="" method="post" id="formImportJSON" enctype="multipart/form-data"> <span class="btn btn-default btn-file">{{ _('Import account') }} (<span class="text-info">*.json</span>)<input type="file" name="jsonfile" /></span> |