diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-07 11:05:54 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-07 11:08:01 +0100 |
commit | be47fc55a268d80308cb9354c0b9f3c7e78b24b3 (patch) | |
tree | 915428eae8676da965ff6b4f88593ad89d1781fd /hyperkitty/templates/threads | |
parent | 4d37a525e8e5df3c13d98ffe534476fd5973d918 (diff) | |
download | hyperkitty-be47fc55a268d80308cb9354c0b9f3c7e78b24b3.tar.gz hyperkitty-be47fc55a268d80308cb9354c0b9f3c7e78b24b3.tar.xz hyperkitty-be47fc55a268d80308cb9354c0b9f3c7e78b24b3.zip |
Add a tooltip when login is required (#36)
This needs a rebuild of the jquery-ui package.
It has been applied to:
- inline replies
- like/dislike links
- favorites
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r-- | hyperkitty/templates/threads/right_col.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html index 60bed09..355663d 100644 --- a/hyperkitty/templates/threads/right_col.html +++ b/hyperkitty/templates/threads/right_col.html @@ -27,7 +27,7 @@ {% csrf_token %} <input type="hidden" name="action" value="{{ fav_action }}" /> <p> - <a href="#AddFav" class="notsaved">Add to favorite discussions</a> + <a href="#AddFav" class="notsaved{% if not user.is_authenticated %} disabled" title="You must be logged-in to have favorites.{% endif %}">Add to favorite discussions</a> <a href="#RmFav" class="saved">Remove from favorite discussions</a> </p> </form> |