Use pen icon instead of edit

This commit is contained in:
rubenwardy 2021-02-28 05:16:15 +00:00
parent f9089319d3
commit aead579f0b
6 changed files with 8 additions and 8 deletions

@ -34,7 +34,7 @@
{% if current_user == review.author %}
<a class="btn btn-primary btn-sm ml-1 float-right"
href="{{ review.package.getReviewURL() }}">
<i class="fas fa-edit"></i>
<i class="fas fa-pen"></i>
</a>
{% endif %}

@ -50,12 +50,12 @@
{% if current_user == thread.author and thread.review and thread.replies[0] == r %}
<a class="float-right btn btn-primary btn-sm ml-2"
href="{{ thread.review.package.getReviewURL() }}">
<i class="fas fa-edit"></i>
<i class="fas fa-pen"></i>
</a>
{% elif r.checkPerm(current_user, "EDIT_REPLY") %}
<a class="float-right btn btn-primary btn-sm ml-2"
href="{{ url_for('threads.edit_reply', id=thread.id, reply=r.id) }}">
<i class="fas fa-edit"></i>
<i class="fas fa-pen"></i>
</a>
{% endif %}

@ -36,7 +36,7 @@
<form action="{{ ss.getDeleteURL() }}" method="POST" class="col-auto text-right" role="form">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<a class="btn btn-sm btn-primary" href="{{ ss.getEditURL() }}">
<i class="fas fa-edit"></i>
<i class="fas fa-pen"></i>
</a>
<button type="submit" class="btn btn-sm btn-danger ml-2">
<i class="fas fa-trash"></i>

@ -37,7 +37,7 @@
<div class="btn-group float-right mb-4">
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}
<a class="btn btn-primary" href="{{ package.getEditURL() }}">
<i class="fas fa-edit mr-1"></i>
<i class="fas fa-pen mr-1"></i>
{{ _("Edit") }}
</a>
{% endif %}
@ -407,7 +407,7 @@
<dt>Maintainers</dt>
<dd>
{% if package.checkPerm(current_user, "EDIT_MAINTAINERS") %}
<a class="btn btn-primary btn-sm ml-1 float-right" href="{{ package.getEditMaintainersURL() }}"><i class="fas fa-edit"></i></a>
<a class="btn btn-primary btn-sm ml-1 float-right" href="{{ package.getEditMaintainersURL() }}"><i class="fas fa-pen"></i></a>
{% endif %}
{% for user in package.maintainers %}

@ -38,7 +38,7 @@
{% if current_user == thread.author and thread.review %}
<a class="btn btn-primary ml-1 float-right mr-2"
href="{{ thread.review.package.getReviewURL() }}">
<i class="fas fa-edit"></i>
<i class="fas fa-pen"></i>
{{ _("Edit Review") }}
</a>
{% endif %}

@ -51,7 +51,7 @@
<td class="text-center">
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}
<a class="btn btn-link btn-sm py-0" href="{{ package.getEditURL() }}">
<i class="fas fa-edit"></i>
<i class="fas fa-pen"></i>
</a>
{% endif %}
</td>