Commit 3cd4e60d authored by Michal Čihař's avatar Michal Čihař

Add button for following RSS feed

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent a01736fb
......@@ -4,4 +4,3 @@ TODO list for bootstrap migration
- revisit all custom CSS and see what should be applied
- revisit our JS code and check what needs to be ported
- convert remaining pages
- indication of RSS feeds for changes
......@@ -2,14 +2,11 @@
{% load translations %}
{% load url from future %}
<div class="panel panel-primary">
<div class="panel-heading"><h4 class="panel-title">{% if history_title %}{{ history_title }}{% else %}{% trans "History" %}{% endif %}</h4></div>
<div class="panel-heading">
<h4 class="panel-title">{% if history_title %}{{ history_title }}{% else %}{% trans "History" %}{% endif %}</h4>
</div>
<div class="panel-body">
{% if last_changes_rss %}
<a class="rss menu-float ui-state-default ui-corner-all" href="{{ last_changes_rss }}">
<span class="ui-icon ui-icon-signal-diag"></span>
</a>
{% endif %}
<table class="table">
<thead>
......@@ -47,9 +44,14 @@
</tbody>
</table>
</div>
{% if not hide_browse %}
{% if not hide_browse or last_changes_rss %}
<div class="panel-footer">
{% if not hide_browse %}
<a class="btn btn-default" href="{% url 'changes' %}?{{ last_changes_url }}">{% trans "Browse changes" %}</a>
{% endif %}
{% if last_changes_rss %}
<a class="btn btn-default" href="{{ last_changes_rss }}">{% trans "Follow using RSS" %}</a>
{% endif %}
</div>
{% endif %}
</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment