Skip to content

Commit

Permalink
merged annotation of user types by Jishnu
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyfadeev committed Sep 26, 2011
1 parent c2f0a15 commit 2c1abd0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 5 additions & 1 deletion askbot/doc/source/changelog.rst
@@ -1,7 +1,11 @@
Changes in Askbot
=================

0.7.23 (Current Version)
0.7.24 (development version - not released)
-------------------------------------------
* Added annotations for the meanings of user levels on the "moderation" page. (Jishnu)

0.7.23 (Current)
-------------------
* Greeting for anonymuos users can be changed from live settings (Hrishi)
* Greeting for anonymous users is shown only once (Rag Sagar)
Expand Down
1 change: 1 addition & 0 deletions askbot/doc/source/contributors.rst
Expand Up @@ -15,6 +15,7 @@ Programming and documentation
* Andy Knotts
* Benoit Lavine (with Windriver Software, Inc.)
* Jeff Madynski
* `Jishnu <http://thecodecracker.com/>`_
* `Hrishi <https://github.com/stultus>`_
* Andrei Mamoutkine
* Ramiro Morales (with Machinalis)
Expand Down
10 changes: 5 additions & 5 deletions askbot/skins/default/templates/user_profile/user_moderate.html
Expand Up @@ -72,19 +72,19 @@ <h3>{% trans username=view_user.username %}Send message to {{username}}{% endtra
$("#id_user_status").change(function () {
var optionValue = $(this).attr('value');
if (optionValue == "d") {
$('#id_user_status_info').html("{% trans %}Administrator is the top-level user privilege set. This amounts to the same as an Operational user's privileges, plus the ability to manage users and alter system settings.{% endtrans %}");
$('#id_user_status_info').html("{% trans %}Administrators have privileges of normal users, but in addition they can assign/revoke any status to any user, and are exempt from the reputation limits.{% endtrans %}");
$('#id_user_status_info').show('slow');
} else if (optionValue == "m"){
$('#id_user_status_info').html("{% trans %}Moderator differ from admins in that they cannot set anyone's status to 'moderator' or remove it.{% endtrans %}");
$('#id_user_status_info').html("{% trans %}Moderators have the same privileges as administrators, but cannot add or remove user status of 'moderator' or 'administrator'.{% endtrans %}");
$('#id_user_status_info').show('slow');
} else if (optionValue == "a"){
$('#id_user_status_info').html("{% trans %}Approved status is for a regular user.{% endtrans %}");
$('#id_user_status_info').html("{% trans %}'Approved' status means the same as regular user.{% endtrans %}");
$('#id_user_status_info').show('slow');
} else if (optionValue == "s"){
$('#id_user_status_info').html("{% trans %}Suspended users can only edit or delete his/her own posts.{% endtrans %}");
$('#id_user_status_info').html("{% trans %}Suspended users can only edit or delete their own posts.{% endtrans %}");
$('#id_user_status_info').show('slow');
} else if (optionValue == "b"){
$('#id_user_status_info').html("{% trans %}Blocked user can login and send feedback. nothing else.{% endtrans %}");
$('#id_user_status_info').html("{% trans %}Blocked users can only login and send feedback to the site administrators.{% endtrans %}");
$('#id_user_status_info').show('slow');
} else {
$('#id_user_status_info').hide('slow');
Expand Down

0 comments on commit 2c1abd0

Please sign in to comment.