~michael.nelson/open-goal-tracker/try-jquerymobile-for-pres

« back to all changes in this revision

Viewing changes to usergoals/templates/usergoals/usergoal_list.html

  • Committer: Michael Nelson
  • Date: 2011-06-11 11:35:03 UTC
  • mfrom: (74.1.1 ui-consistency-tweaks)
  • Revision ID: michael.nelson@canonical.com-20110611113503-vu1rrht7zgcr53su
MergedĀ ui-consistency-tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
{% endif %}
26
26
 
27
27
<p>{% if goal_user == user %}
28
 
  You have {{ usergoal_list.count }} current goal{{ agreement_list.count|pluralize }}.
 
28
  You have {{ usergoal_list.count }} current goal{{ usergoal_list.count|pluralize }}.
29
29
  {% else %}{{ goal_user.first_name }} has {{ usergoal_list.count }}
30
30
    current goal{{ usergoal_list.count|pluralize }}.{% endif %}
31
31
</p>
 
32
 
 
33
<table summary="Review agreements for {{ goal_user.firstname }}.">
 
34
  <thead>
 
35
    <tr>
 
36
      <th>Goal</th>
 
37
    </tr>
 
38
  </thead>
 
39
  <tbody>
32
40
{% for user_goal in usergoal_list %}
33
 
<blockquote>
 
41
<tr><td>
34
42
    <a href="{{ user_goal.get_absolute_url }}">I
35
43
        want to {{ user_goal.goal }}.</a>
36
 
</blockquote>
 
44
</td></tr>
37
45
{% endfor %}
 
46
  </tbody>
 
47
</table>
38
48
 
39
49
<a href="{% url usergoal-new %}?user={{ goal_user.username }}">Create a new goal</a>
40
50