--- a/src/hdalab/static/hdalab/css/profile.css Thu Mar 12 11:05:53 2015 +0100
+++ b/src/hdalab/static/hdalab/css/profile.css Thu Mar 12 19:12:57 2015 +0100
@@ -114,3 +114,12 @@
float: right;
margin: 2px 10px 0px;
}
+
+.plublish-renkan{
+ margin-left: 3px;
+ font-size: 14px;
+}
+.unplublish-renkan{
+ margin-left: 3px;
+ font-size: 15px;
+}
\ No newline at end of file
--- a/src/hdalab/templates/profile_home.html Thu Mar 12 11:05:53 2015 +0100
+++ b/src/hdalab/templates/profile_home.html Thu Mar 12 19:12:57 2015 +0100
@@ -113,8 +113,8 @@
<form action="{% url 'renkan_moderate' rk_id=r.rk_id %}" method="post">
{% csrf_token %}
<input type="hidden" name="next" value="{% url 'profile_home' %}" />
- {% if hr.state == 1 %}<button name="state" value="2" title="{% trans 'publish renkan' %}" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to ask to publish this renkan ?" %}');" ><span class="ui-icon ui-icon-unlocked"></span></button>
- {% else %}<button name="state" title="{% trans 'unpublish renkan' %}" value="1" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to unpublish this renkan ?" %}');" ><span class="ui-icon ui-icon-locked"></span></button>{% endif %}
+ {% if hr.state == 1 %}<button name="state" value="2" title="{% trans 'publish renkan' %}" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to ask to publish this renkan ?" %}');" ><span class="unplublish-renkan">✗</span></button>
+ {% else %}<button name="state" title="{% trans 'unpublish renkan' %}" value="1" class="renkan-basic-action" onclick="return confirm('{% trans "Are you sure you want to unpublish this renkan ?" %}');" ><span class="plublish-renkan">✓</span></button>{% endif %}
</form>
</td>
</tr>