Ignore:
Timestamp:
Dec 26, 2011, 4:40:54 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
72a3d90
Parents:
d9137a7
git-author:
Alex Dehnert <adehnert@…> (12/26/11 04:40:54)
git-committer:
Alex Dehnert <adehnert@…> (12/26/11 04:40:54)
Message:

Mark group status on group list pages (Trac: #45)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/groups/group_list.html

    rfbb362a re499677  
    1717<h2>The Groups</h2>
    1818
    19 <table class='pretty-table'>
     19<table class='pretty-table group-list'>
    2020<thead>
    2121    <tr>
    2222        <th>Name</th>
     23        <th>Status</th>
    2324        <th>Website</th>
    2425        <th>ASA DB</th>
     
    2930<tbody>
    3031{% for group in group_list %}
    31     <tr>
     32    <tr class='group-status-{{group.group_status.slug}} group-active-{{group.group_status.is_active}}'>
    3233        <th>{{group.name}}</th>
     34        <td class='group-status'>{{group.group_status}}</td>
    3335        <td>{% if group.website_url %}<a href='{{group.website_url}}'>Website</a>{%endif%}</td>
    3436        <td><a href='{% url groups:group-detail group.pk %}'>DB Entry</a></td>
Note: See TracChangeset for help on using the changeset viewer.