Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions lms/templates/wiki/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,15 @@ <h2 id="preview-title">{% trans "Wiki Revision Preview" as tmsg%}{{tmsg|force_es
{% trans "Back to history view" as tmsg %}{{tmsg|force_escape}}
</a>
{% if article|can_write:user %}
<button type="button" class="btn btn-large btn-primary switch-to-revision">
<a class="btn btn-large btn-primary switch-to-revision">
<span class="icon fa fa-flag" aria-hidden="true"></span>
{% trans "Switch to this version" as tmsg %}{{tmsg|force_escape}}
</button>
</a>
{% else %}
<button type="button" class="btn btn-large btn-primary disabled">
<a class="btn btn-large btn-primary disabled">
<span class="icon fa fa-lock" aria-hidden="true"></span>
{% trans "Switch to this version" as tmsg%}{{tmsg|force_escape}}
</button>
</a>
{% endif %}
</div>
</div>
Expand All @@ -250,15 +250,15 @@ <h1>{% trans "Merge with current" as tmsg%}{{tmsg|force_escape}}</h1>
{% trans "Back to history view" as tmsg%}{{tmsg|force_escape}}
</a>
{% if article|can_write:user %}
<button type="button" class="btn btn-large btn-primary merge-revision-commit">
<a class="btn btn-large btn-primary merge-revision-commit">
<span class="icon fa fa-file" aria-hidden="true"></span>
{% trans "Create new merged version" as tmsg%}{{tmsg|force_escape}}
</button>
</a>
{% else %}
<button type="button" class="btn btn-large btn-primary disabled">
<a class="btn btn-large btn-primary disabled">
<span class="icon fa fa-lock" aria-hidden="true"></span>
{% trans "Create new merged version" as tmsg%}{{tmsg|force_escape}}
</button>
</a>
{% endif %}
</div>
</div>
Expand Down