Skip to content

Commit

Permalink
feat(duplication): reduce to one button only
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflos committed Jul 31, 2024
1 parent 4c01945 commit a962cad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/handlers/duplicate.twig
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@
<input type="hidden" name="sourceUrl" value="{{ sourceUrl }}" />
<input type="hidden" name="originalTag" value="{{ originalTag }}" />
<input type="hidden" name="type" value="{{ type }}" />
<button name="duplicate-action" value="open" type="submit" class="btn btn-primary"><i class="fa fa-eye-open"></i>{{ _t('DUPLICATE_AND_OPEN') }}</button>
<button name="duplicate-action" value="edit" type="submit" class="btn btn-primary"><i class="fa fa-pencil-alt"></i> {{ _t('DUPLICATE_AND_EDIT') }}</button>
<button name="duplicate-action" value="return" type="submit" class="btn btn-primary"><i class="fa fa-arrow-left"></i> {{ _t('DUPLICATE_AND_RETURN') }}</button>
<button name="duplicate-action" value="open" type="submit" class="btn btn-primary">{{ _t('DUPLICATE_AND_OPEN') }}</button>
{% if toExternalWiki %}
</div>
{% endif %}
Expand Down

0 comments on commit a962cad

Please sign in to comment.