diff options
author | Michael Manfre | 2022-12-06 18:55:35 -0500 |
---|---|---|
committer | GitHub | 2022-12-06 16:55:35 -0700 |
commit | dcf2d801b93e195ad27d349427a7c6aaa8845d61 (patch) | |
tree | 4ffb6555603aefa1356d248b5a4af51da81ba4b0 /templates | |
parent | c87ad8116fbd19107456147b026e1cc214334b40 (diff) | |
download | takahe-dcf2d801b93e195ad27d349427a7c6aaa8845d61.tar.gz takahe-dcf2d801b93e195ad27d349427a7c6aaa8845d61.tar.bz2 takahe-dcf2d801b93e195ad27d349427a7c6aaa8845d61.zip |
'View in admin' link for post popup menu (#134)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/activities/_post.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/activities/_post.html b/templates/activities/_post.html index a813433..e764747 100644 --- a/templates/activities/_post.html +++ b/templates/activities/_post.html @@ -49,6 +49,11 @@ <i class="fa-solid fa-arrow-up-right-from-square"></i> See Original </a> {% endif %} + {% if request.user.admin %} + <a href="{{ post.urls.admin_edit }}"> + <i class="fa-solid fa-gear"></i> View In Admin + </a> + {% endif %} </menu> </div> {% endif %} |