Commit 8024fa09 authored by HEVELINE Thomas's avatar HEVELINE Thomas

(44)Fix : Correction icone delete

parent dd5fee41
......@@ -34,7 +34,7 @@
<a href="{% url 'carshare:edit' aid=announcement.id %}" title="Editer"><i class="fa fa-pencil"></i></a>
{% endif %}
{% if announcement.author == request.user or perms.carshare.delete_announcement %}
<a href="{% url 'carshare:delete' aid=announcement.id %}" class="red confirm" title="Supprimer"><i class="fa fa-trash-o"></i></a>
<a href="{% url 'carshare:delete' aid=announcement.id %}" class="red confirm" title="Supprimer"><i class="fa fa-trash-alt"></i></a>
{% endif %}
</h2>
</header>
......@@ -66,7 +66,7 @@
<h5>
{{ registration.pub_date }}
{% if perms.carshare.delete_registration %}
<a href="{% url 'carshare:delete_registration' rid=registration.id %}" class="red confirm" title="Supprimer" ><i class="fa fa-trash-o"></i></a>
<a href="{% url 'carshare:delete_registration' rid=registration.id %}" class="red confirm" title="Supprimer" ><i class="fa fa-trash-alt"></i></a>
{% endif %}
</h5>
</hgroup>
......
......@@ -100,7 +100,7 @@
<p>
<a href="{% url 'events:extern' uuid=link.admin_uuid %}">Administration</a>
<a href="{% url 'events:edit_extern' uuid=link.admin_uuid %}"><i class="fa fa-pencil"></i></a>
<a href="{% url 'events:delete_extern' uuid=link.admin_uuid %}"><i class="fa fa-trash-o red confirm"></i></a>
<a href="{% url 'events:delete_extern' uuid=link.admin_uuid %}"><i class="fa fa-trash-alt red confirm"></i></a>
</p>
</p>
</div>
......
......@@ -35,7 +35,7 @@
<a href="{% url 'news:edit' nid=new.id %}" title="Editer"><i class="fa fa-pencil"></i></a>
{% endif %}
{% if perms.news.delete_new %}
<a href="{% url 'news:delete' nid=new.id %}" class="red confirm" title="Supprimer"><i class="fa fa-trash-o"></i></a>
<a href="{% url 'news:delete' nid=new.id %}" class="red confirm" title="Supprimer"><i class="fa fa-trash-alt"></i></a>
{% endif %}
</h2>
</header>
......@@ -58,7 +58,7 @@
<h5>
{{ comment.pub_date }}
{% if perms.news.delete_comment or comment.user == request.user %}
<a href="{% url 'news:del_comment' cid=comment.id %}" class="red confirm" title="Supprimer" ><i class="fa fa-trash-o"></i></a>
<a href="{% url 'news:del_comment' cid=comment.id %}" class="red confirm" title="Supprimer" ><i class="fa fa-trash-alt"></i></a>
{% endif %}
</h5>
</hgroup>
......
......@@ -36,7 +36,7 @@
<td width="40%">{{ p.description }}</td>
<td><a href="{{ p.urlLink }}"><i class="fa fa-external-link"></i></a></td>
<td width="5%"><a href="{% url 'partnerships:admin_edit' nid=p.id %}" title="Editer"><i class="fa fa-pencil"></i></a></td>
<td width="5%"><a href="{% url 'partnerships:admin_delete' nid=p.id %}" class="red confirm" title="Supprimer"><i class="fa fa-trash-o"></i></a></td>
<td width="5%"><a href="{% url 'partnerships:admin_delete' nid=p.id %}" class="red confirm" title="Supprimer"><i class="fa fa-trash-alt"></i></a></td>
</tr>
{% endfor %}
</tbody>
......
......@@ -37,7 +37,7 @@
{% for perm in permissions %}
<tr>
<td>{{ perm }}</td>
<td class="center"><a href="{% url 'photo:permissions_delete' model=perm.get_class_name pid=perm.id %}" class="confirm"><i class="red fa fa-trash-o"></i></a><td>
<td class="center"><a href="{% url 'photo:permissions_delete' model=perm.get_class_name pid=perm.id %}" class="confirm"><i class="red fa fa-trash-alt"></i></a><td>
</tr>
{% endfor %}
</tbody>
......
......@@ -3,7 +3,7 @@
<label for="{{ real_qid }}">Question: </label>
{{ question_form }}
<button onclick="add_response({{qid}});return false;" class="edit_button"><i class="fa fa-plus"></i></button>
<button class="red_button edit_button" onclick="del_question({{qid}});return false;"><i class="fa fa-trash-o"></i></button>
<button class="red_button edit_button" onclick="del_question({{qid}});return false;"><i class="fa fa-trash-alt"></i></button>
</p>
<div id="q_a{{real_qid}}"></div>
<div id="q_a{{qid}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment