Changeset c745fd in indico
- Timestamp:
- 03/28/11 14:20:39 (2 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- 4ac79f9
- Parents:
- ca9b88
- git-author:
- Adrian Moennich <jerome.ernst.monnich@…> (03/22/11 09:24:50)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (03/28/11 14:20:39)
- Location:
- indico/MaKaC/webinterface
- Files:
-
- 2 edited
-
pages/category.py (modified) (3 diffs)
-
tpls/CategoryOverview.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/webinterface/pages/category.py
r824614 rc745fd 42 42 from MaKaC.common.timezoneUtils import DisplayTZ,nowutc 43 43 from pytz import timezone 44 from MaKaC.common.TemplateExec import truncateTitle 44 45 45 46 … … 824 825 categ=cm.getById(str(icon)) 825 826 otherOW = self._ow.getOverviewOtherCateg(categ) 826 a=(""" <a href="%s" style="font-size: 1.0em;"><img src="%s" width="16" height="16" border="0"> %s</a> <br/>""" %(\ 827 vars["categOverviewURLGen"]( otherOW ),\ 828 urlHandlers.UHCategoryIcon.getURL(categ),\ 829 categ.getName().replace(" "," "))) 827 a=(""" <a href="%s" style="font-size: 1.0em;" onmouseover="IndicoUI.Widgets.Generic.tooltip(this, event, '%s')"><img src="%s" width="16" height="16" border="0"> %s</a> <br/>""" %( 828 vars["categOverviewURLGen"]( otherOW ), 829 categ.getName(), 830 urlHandlers.UHCategoryIcon.getURL(categ), 831 truncateTitle(categ.getName(), 20))) 830 832 if not a in l: 831 833 l.append(a) … … 1596 1598 selected = "selected" 1597 1599 if topcat.getId() != "0": 1598 from MaKaC.common.TemplateExec import truncateTitle1599 1600 vis.append("""<option value="%s" %s>%s</option>""" % (level, selected, truncateTitle(topcat.getName(), 70))) 1600 1601 topcat = topcat.getOwner() -
indico/MaKaC/webinterface/tpls/CategoryOverview.tpl
r9ac2af7 rc745fd 49 49 <% if key: %> 50 50 <br><h1><%= _("Legend") %>:</h1> 51 <div style="margin: 10px 0 30px 10px;width:180px; "><%= key %></div>51 <div style="margin: 10px 0 30px 10px;width:180px;overflow:hidden;white-space:nowrap;"><%= key %></div> 52 52 <% end %> 53 53 </div>
Note: See TracChangeset
for help on using the changeset viewer.
