* check if plugin exist before uninstalling

* fixed some bug when you uninstall and then try to install again on the same page
* moved some characters.frags code to twig template
This commit is contained in:
slawkens
2017-10-11 15:24:54 +02:00
parent 005356ebb3
commit 6c3439acf9
5 changed files with 42 additions and 37 deletions

View File

@@ -242,7 +242,7 @@
{% for frag in frags %}
<tr bgcolor="'{{ getStyle(i) }}">
<td width="20%" align="center">{{ frag.time|date("j M Y, H:i") }}</td>
<td>{{ frag.description }}</td>
<td>{{ frag.description }}({% if frag.unjustified %}<font size="1" color="red">Unjustified</font>{% else %}<font size="1" color="green">Justified</font>{% endif %})</td>
</tr>
{% endfor %}
</table>