Browse Source

Add comment in the list of subscriptions

Sébastien Dufromentel 10 years ago
parent
commit
139a082229
2 changed files with 6 additions and 1 deletions
  1. 3 1
      coin/members/templates/members/subscriptions.html
  2. 3 0
      coin/static/css/illyse.css

+ 3 - 1
coin/members/templates/members/subscriptions.html

@@ -9,6 +9,7 @@
             <th width="60">Type</th>
             <th>Identification</th>
             <th>Date d'activation</th>
+            <th>Commentaire</th>
             <th>Configuration</th>
         </tr>
     </thead>
@@ -18,7 +19,8 @@
             <td>{{ subscription.offer.type }}</td>
             <td>{{ subscription.offer.name }}</td>
             <td>{{ subscription.subscription_date }}</td>
-            <td><a href="{% url 'subscription:configuration-redirect' subscription.pk %}">Show/edit configuration</a></td>
+            <td>{{ subscription.configuration.comment }}</td>
+            <td><a class="cfglink" href="{% url 'subscription:configuration-redirect' subscription.pk %}">Configurer</a></td>
         </tr>
         {% endfor %}
     </tbody>

+ 3 - 0
coin/static/css/illyse.css

@@ -197,3 +197,6 @@ span.italic {
     content: "⚠ ";
     font-weight: bold;
 }
+a.cfglink:before {
+	content: "⎘ ";
+}