Changeset d1a4706
- Timestamp:
- Mar 31, 2012, 4:42:11 AM (14 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 8708a86
- Parents:
- 2ca19cb
- git-author:
- Alex Dehnert <adehnert@…> (03/31/12 04:42:11)
- git-committer:
- Alex Dehnert <adehnert@…> (03/31/12 04:42:11)
- Location:
- asadb
- Files:
-
- 2 edited
-
groups/views.py (modified) (1 diff)
-
template/groups/group_search.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/views.py
r58a5c6a rd1a4706 764 764 dest = reverse('groups:signatories') 765 765 print dest 766 elif 'group-info' in request.GET: 766 elif 'group-goto' in request.GET: 767 if len(groups_filterset.qs) == 1: 768 group = groups_filterset.qs[0] 769 return redirect(reverse('groups:group-detail', kwargs={'pk':group.pk})) 770 else: 771 dest = reverse('groups:list') 772 elif 'group-list' in request.GET: 767 773 dest = reverse('groups:list') 768 774 -
asadb/template/groups/group_search.html
r6a646ce rd1a4706 10 10 {{ filter.form.as_table }} 11 11 </table> 12 <input type="submit" name="group-info" value="Show Group Information" /> 12 <input type="submit" name="group-goto" value="Show Group Information" title="If exactly one group matches, go directly to that group's database entry. Otherwise, show the group list." /> 13 <input type="submit" name="group-list" value="Show Group List" /> 13 14 {% if perms.groups.view_signatories %} 14 15 <input type="submit" name="signatories" value="Show Signatories" />
Note: See TracChangeset
for help on using the changeset viewer.