changeset 2882:b0038fff1f2e

fix #467 style issues on /+mychanges and /+history views
author RogerHaase <haaserd@gmail.com>
date Sat, 17 Jan 2015 15:18:34 -0700
parents 1e3409fba0b6
children 12722b35e73c
files MoinMoin/templates/history.html MoinMoin/templates/mychanges.html
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/history.html	Sat Jan 17 14:38:21 2015 -0700
+++ b/MoinMoin/templates/history.html	Sat Jan 17 15:18:34 2015 -0700
@@ -71,7 +71,7 @@
                                     </div>
                                 </td>
                                 <td class="moin-wordbreak">{{ utils.editor_info(doc) }}</td>
-                                <td class="moin-wordbreak">{{ doc.contenttype }}</td>
+                                <td class="moin-wordbreak">{{ doc.contenttype|shorten_ctype }}</td>
                                 <td class="moin-wordbreak">{{ doc.comment }}</td>
                                 <td><a href="{{ url_for('frontend.show_item', item_name=fqname, rev=doc.revid) }}">{{ _('show') }}</a></td>
                                 <td><a href="{{ url_for('frontend.show_item_meta', item_name=fqname, rev=doc.revid) }}">{{ _('meta') }}</a></td>
--- a/MoinMoin/templates/mychanges.html	Sat Jan 17 14:38:21 2015 -0700
+++ b/MoinMoin/templates/mychanges.html	Sat Jan 17 15:18:34 2015 -0700
@@ -14,8 +14,8 @@
         </div>
         <h1>{{ _('My Changes') }}</h1>
         <div class="moin-clr"></div>
-        <div id="moin-page-history">
-            <table class="zebra ">
+        <div>
+            <table class="zebra moin-sortable">
                 <thead>
                     <tr>
                         <th>{{ _("Item") }}</th>
@@ -36,7 +36,7 @@
                                     <a href="{{ url_for_item(name, namespace=doc.fqname.namespace, endpoint='frontend.show_item') }}">{{ name }}</a>
                                 {% endfor %}
                             </td>
-                            <td>{{ doc.revid|shorten_id }}</td>
+                            <td class="monospaced">{{ doc.revid|shorten_id }}</td>
                             <td>{{ doc.mtime|datetimeformat }}</td>
                             <td class="moin-integer">{{ doc.size }}</td>
                             <td>
@@ -48,7 +48,7 @@
                                     </form>
                                 </div>
                             </td>
-                            <td class="moin-wordbreak">{{ doc.contenttype }}</td>
+                            <td class="moin-wordbreak">{{ doc.contenttype|shorten_ctype }}</td>
                             <td class="moin-wordbreak">{{ doc.comment }}</td>
                         </tr>
                     {% endfor %}