gnowledge/gstudio — pull request #511 by AvadootNachankar (2014-06-07 15:42:37+00:00)
Title: Bug resolved - Listing number of members of the group; and Action-buttons listing updated in resource's detail-view

**Functionalities implemented:**

1) **Bug resolved - Listing number of members of the group (i.e., in group's detail-view)**
- Member's listing and all other buttons are shifted above navigational section (i.e. listing collection elements)

- Files modified:

1) ```views/group.py```
- Draft check put up, along with call to get_page() function

2) ```templates/ndf/groupdashboard.html```
- Buttons' size changed from tiny to small
- Member's listing and all other buttons are shifted above navigational section (i.e. listing collection elements)

3) ```templates/ndf/invite_users.html```
- Buttons' size changed from tiny to small

2) **Action-buttons listing updated in resource's detail-view**
- All action buttons are now listed under "Edit now" button's drop-down list
- Button's which are shifted to the list are as follows (in given sequence):

1) Publish
2) Module
3) Translate
4) Add/Upload
- In case of Group/Author, this button is shown only to the superuser!

- Files modified:

1) ```templatetags/ndf_tags.py```
- user_access_policy() tag modified: Reorderd elif sections
- get_publish_policy() tag modified: Superuers will now be having publish power, even if they are not the member of that group
- get_create_url() tag created: Returns url names for respective resource

2) ```templates/ndf/node_ajax_view.html```
- "Edit now" drop-down list updated