Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
This commit is contained in:
commit
8921415b65
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@
|
|||
|
||||
{% if v %}
|
||||
{% set voted=c.voted %}
|
||||
{% if not voted and v.id == c.author_id %}
|
||||
{% set voted=1 %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set voted=-2 %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue