Skip to content
Snippets Groups Projects
Commit 72df0a3c authored by stvn's avatar stvn
Browse files

merge(#28049): arjun/wiki-modal-buttons

commits
=======
- fix: change buttons in wiki modal to anchor tags
parents d786f6d3 706da447
No related branches found
No related tags found
No related merge requests found
......@@ -215,15 +215,15 @@
{% 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>
......@@ -250,15 +250,15 @@
{% 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 type="button" 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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment