diff options
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/base.html | 4 | ||||
-rw-r--r-- | hyperkitty/templates/messages/like_form.html | 4 | ||||
-rw-r--r-- | hyperkitty/templates/messages/reply_form.html | 2 | ||||
-rw-r--r-- | hyperkitty/templates/threads/right_col.html | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 424c86a..f8eb95e 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -8,7 +8,7 @@ <meta name="dc.language" content="en" /> <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico" /> <link rel="stylesheet" media="screen" href="{{ STATIC_URL }}libs/bootstrap/bootstrap.min.css" /> - <link rel="stylesheet" media="screen" href="{{ STATIC_URL }}libs/jquery/ui-lightness/jquery-ui-1.9.1.custom.min.css" /> + <link rel="stylesheet" media="screen" href="{{ STATIC_URL }}libs/jquery/ui-lightness/jquery-ui-1.10.0.custom.min.css" /> <link rel="stylesheet" media="all" href="{{ STATIC_URL }}css/hyperkitty.css" /> {% block additional_stylesheets %} {% endblock %} </head> @@ -60,7 +60,7 @@ </div> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="{{ STATIC_URL }}libs/jquery/jquery-1.8.3.min.js"><\/script>')</script> - <script src="{{ STATIC_URL }}libs/jquery/jquery-ui-1.9.1.custom.min.js"></script> + <script src="{{ STATIC_URL }}libs/jquery/jquery-ui-1.10.0.custom.min.js"></script> <script src="{{ STATIC_URL }}libs/bootstrap/bootstrap.min.js"></script> <script src="{{ STATIC_URL }}js/hyperkitty.js"></script> {% block additionaljs %} {% endblock %} diff --git a/hyperkitty/templates/messages/like_form.html b/hyperkitty/templates/messages/like_form.html index c27eaeb..39f5c6d 100644 --- a/hyperkitty/templates/messages/like_form.html +++ b/hyperkitty/templates/messages/like_form.html @@ -4,8 +4,8 @@ <span class="likestatus {{ object.likestatus }}"> +<span class="likecount">{{ object.likes }}</span>/-<span class="dislikecount">{{ object.dislikes }}</span> </span> - <a class="youlike" href="#like">Like</a> - <a class="youdislike" href="#dislike">Dislike</a> + <a class="youlike{% if not user.is_authenticated %} disabled" title="You must be logged-in to vote.{% endif %}" href="#like">Like</a> + <a class="youdislike{% if not user.is_authenticated %} disabled" title="You must be logged-in to vote.{% endif %}" href="#dislike">Dislike</a> </form> {# vim: set noet: #} diff --git a/hyperkitty/templates/messages/reply_form.html b/hyperkitty/templates/messages/reply_form.html index e1138f2..15a0ddb 100644 --- a/hyperkitty/templates/messages/reply_form.html +++ b/hyperkitty/templates/messages/reply_form.html @@ -1,4 +1,4 @@ - <a class="reply icon-envelope" href="#">Reply</a> + <a class="reply{% if not user.is_authenticated %} disabled" title="You must be logged-in to reply.{% endif %}" href="#">Reply</a> <div class="reply-form dropdown"> <p class="reply-tools">[<a href="#" class="quote">Quote</a>]</p> <form method="post" 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> |