Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2370)

Delta Between Two Patch Sets: MoinMoin/templates/ticket/index.html

Issue 10889044: Rough TicketIndex implementation
Left Patch Set: change ticket/index.html indent Created 10 years, 8 months ago
Right Patch Set: put display_fields.py under a new schema package Created 10 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « MoinMoin/templates/display_widgets.html ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 {% from "index_widgets.html" import render %} 1 {% from "display_widgets.html" import render %}
2 2
3 {% extends theme("layout.html") %} 3 {% extends theme("layout.html") %}
4 4
5 {% block content %} 5 {% block content %}
6 {% if data_rendered %} 6 {% if data_rendered %}
7 <div id="moin-content-data"> 7 <div id="moin-content-data">
8 {{ data_rendered }} 8 {{ data_rendered }}
9 </div> 9 </div>
10 {% endif %} 10 {% endif %}
11 11
12 <table> 12 <table id="moin-index-table">
13 <tr> 13 <thead>
14 <th> 14 <tr>
15 {{ _("Name") }}
16 </th>
17 {% for name, spec in fields %}
18 <th> 15 <th>
19 {{ spec.label }} 16 {{ _("Name") }}
20 </th> 17 </th>
21 {% endfor %} 18 {% for field in fields %}
22 </tr> 19 <th>
23 20 {{ field.label }}
24 {% for e in tickets %} 21 </th>
25 <tr>
26 <td>
27 <a href="{{ url_for('.show_item', item_name=e.fullname) }}">
28 {{ e.relname }}
29 </a>
30 </td>
31 {% for name, spec in fields %}
32 <td>
33 {{ render(e.meta[name], spec.widget) }}
34 </td>
35 {% endfor %} 22 {% endfor %}
36 </tr> 23 </tr>
37 {% else %} 24 </thead>
38 <tr><td colspan="100"> {{ _("(No Ticket Yet)") }} </td></tr> 25
39 {% endfor %} 26 <tbody>
27 {% for e in tickets %}
28 <tr>
29 <td>
30 <a href="{{ url_for('.show_item', item_name=e.fullname) }}">
31 {{ e.relname }}
32 </a>
33 </td>
34 {% for field in fields %}
35 <td>
36 {{ render(e.meta[field.name], field.widget) }}
37 </td>
38 {% endfor %}
39 </tr>
40 {% else %}
41 <tr><td colspan="100"> {{ _("(No tickets yet)") }} </td></tr>
42 {% endfor %}
43 </tbody>
40 </table> 44 </table>
41 {% endblock %} 45 {% endblock %}
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b