Skip to content

Commit

Permalink
Fix wiki merge and switch buttons (openedx#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximst authored and hetmantsev committed Jul 5, 2018
1 parent 17fc684 commit eb38aa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lms/templates/wiki/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ <h2 id="preview-title">{% trans "Wiki Revision Preview" %}<span class="sr">, {%
{% trans "Back to history view" %}
</a>
{% if article|can_write:user %}
<button type="button" class="btn btn-large btn-primary switch-to-revision">
<a type="button" class="btn btn-large btn-primary switch-to-revision">
<span class="icon fa fa-flag" aria-hidden="true"></span>
{% trans "Switch to this version" %}
</button>
</a>
{% else %}
<button type="button" class="btn btn-large btn-primary disabled">
<span class="icon fa fa-lock" aria-hidden="true"></span>
Expand Down Expand Up @@ -251,10 +251,10 @@ <h1>{% trans "Merge with current" %}</h1>
{% trans "Back to history view" %}
</a>
{% if article|can_write:user %}
<button type="button" class="btn btn-large btn-primary merge-revision-commit">
<a type="button" class="btn btn-large btn-primary merge-revision-commit">
<span class="icon fa fa-file" aria-hidden="true"></span>
{% trans "Create new merged version" %}
</button>
</a>
{% else %}
<button type="button" class="btn btn-large btn-primary disabled">
<span class="icon fa fa-lock" aria-hidden="true"></span>
Expand Down

0 comments on commit eb38aa9

Please sign in to comment.