Changeset 4bf8692 for asadb/groups
- Timestamp:
- Sep 24, 2012, 12:50:48 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 43d4ccb
- Parents:
- 75238d5
- git-author:
- Alex Dehnert <adehnert@…> (09/24/12 00:35:52)
- git-committer:
- Alex Dehnert <adehnert@…> (09/24/12 00:50:48)
- Location:
- asadb/groups
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/views.py
rab17953 r4bf8692 82 82 context = super(GroupDetailView, self).get_context_data(**kwargs) 83 83 group = context['group'] 84 85 const_link = None86 const_url = group.constitution_url87 if const_url.startswith("http://") or const_url.startswith("https://"):88 const_link = const_url89 context['constitution_link'] = const_link90 84 91 85 # Indicate whether this person should be able to see "private" info
Note: See TracChangeset
for help on using the changeset viewer.