Change text for unboost/unfav submit button

This commit is contained in:
Jason McBrayer 2018-05-01 08:54:22 -04:00
parent 99a021b5af
commit 0090a31388
2 changed files with 14 additions and 4 deletions

View File

@ -22,8 +22,13 @@
</div>
<div class="level-right">
<div class="level-item">
{% if toot.reblogged %}
<input class="button is-primary" type="submit" name="boost"
value="Unboost">
{% else %}
<input class="button is-primary" type="submit" name="boost"
value="Boost">
{% endif %}
</div>
</div>
</div>

View File

@ -22,8 +22,13 @@
</div>
<div class="level-right">
<div class="level-item">
{% if toot.favorited %}
<input class="button is-primary" type="submit" name="fav"
value="Unfavorite">
{% else %}
<input class="button is-primary" type="submit" name="fav"
value="Favorite">
{% endif %}
</div>
</div>
</div>