{% if v and ((not p.ghost and v.admin_level >= PERMS['VOTES_VISIBLE']) or v.id == AEVANN_ID) %}<aclass="list-inline-item"href="/votes/{{p.fullname}}"><iclass="fas fa-arrows-v"></i>Votes</a>{% endif %}
<buttontype="button"id="subscribe-{{p.id}}"class="{% if p.id in v.subscribed_idlist %}d-none{% endif %} list-inline-item"data-click="postToastSwitch(this,'/subscribe/{{p.id}}','subscribe-{{p.id}}','unsubscribe-{{p.id}}','d-none')"onclick="areyousure(this)"><iclass="fas fa-eye"></i>Subscribe</button>
<buttontype="button"id="unsubscribe-{{p.id}}"class="{% if p.id not in v.subscribed_idlist %}d-none{% endif %} list-inline-item"onclick="postToastSwitch(this,'/unsubscribe/{{p.id}}','subscribe-{{p.id}}','unsubscribe-{{p.id}}','d-none')"><iclass="fas fa-eye-slash"></i>Unsubscribe</button>
<buttontype="button"id="save-{{p.id}}"class="{% if p.id in v.saved_idlist %}d-none{% endif %} list-inline-item"onclick="postToastSwitch(this,'/save_post/{{p.id}}','save-{{p.id}}','unsave-{{p.id}}','d-none')"><iclass="fas fa-save"></i>Save</button>
<buttontype="button"id="unsave-{{p.id}}"class="{% if not p.id in v.saved_idlist %}d-none{% endif %} list-inline-item"onclick="postToastSwitch(this,'/unsave_post/{{p.id}}','save-{{p.id}}','unsave-{{p.id}}','d-none')"><iclass="fas fa-save"></i>Unsave</button>
<buttontype="button"id="pin-profile-{{p.id}}"class="{% if p.is_pinned %}d-none{% endif %} list-inline-item text-muted"onclick="postToastSwitch(this,'/pin/{{p.id}}','unpin-profile-{{p.id}}','pin-profile-{{p.id}}','d-none')"><iclass="fas fa-thumbtack fa-rotate--45"></i>Pin to profile</button>
<buttontype="button"id="unpin-profile-{{p.id}}"class="{% if not p.is_pinned %}d-none{% endif %} list-inline-item text-muted"onclick="postToastSwitch(this,'/pin/{{p.id}}','unpin-profile-{{p.id}}','pin-profile-{{p.id}}','d-none')"><iclass="fas fa-thumbtack fa-rotate--45"></i>Unpin from profile</button>
<buttontype="button"id="hole-pin-{{p.id}}"class="dropdown-item {% if p.hole_pinned %}d-none{% endif %} list-inline-item text-info"onclick="postToastSwitch(this,'/hole_pin/{{p.id}}','hole-pin-{{p.id}}','hole-unpin-{{p.id}}','d-none')"><iclass="fas fa-thumbtack fa-rotate--45"></i>Pin to /h/{{p.sub}}</button>
<buttontype="button"id="hole-unpin-{{p.id}}"class="dropdown-item {% if not p.hole_pinned %}d-none{% endif %} list-inline-item text-info"onclick="postToastSwitch(this,'/hole_unpin/{{p.id}}','hole-pin-{{p.id}}','hole-unpin-{{p.id}}','d-none')"><iclass="fas fa-thumbtack fa-rotate--45"></i>Unpin from /h/{{p.sub}}</button>
<buttontype="button"id="remove-{{p.id}}"class="dropdown-item {% if p.is_banned %}d-none{% endif %} list-inline-item text-danger"onclick="removePost(this,'{{p.id}}','remove-{{p.id}}','approve-{{p.id}}','d-none')"><iclass="fas fa-ban"></i>Remove</button>
<buttontype="button"id="approve-{{p.id}}"class="dropdown-item {% if not p.is_banned and request.path != '/admin/reported/posts' %}d-none{% endif %} list-inline-item text-success"onclick="approvePost(this,'{{p.id}}','remove-{{p.id}}','approve-{{p.id}}','d-none')"><iclass="fas fa-check"></i>Approve</button>