Changeset 4bf8692 for asadb/groups


Ignore:
Timestamp:
Sep 24, 2012, 12:50:48 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
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)
Message:

Add and use constitution linkifying filter (ASA-#146)

Location:
asadb/groups
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/views.py

    rab17953 r4bf8692  
    8282        context = super(GroupDetailView, self).get_context_data(**kwargs)
    8383        group = context['group']
    84 
    85         const_link = None
    86         const_url = group.constitution_url
    87         if const_url.startswith("http://") or const_url.startswith("https://"):
    88             const_link = const_url
    89         context['constitution_link'] = const_link
    9084
    9185        # Indicate whether this person should be able to see "private" info
Note: See TracChangeset for help on using the changeset viewer.