## This file is subject to the terms and conditions defined in
## file 'LICENSE', which is part of this source code package.
## Copyright (c) 2009 SKR Farms (P) LTD.
<%inherit file="/base/basic1.html"/>
<%namespace name="elements" file="/component/elements.html"/>
<%namespace name="charts" file="/component/charts.html"/>
<%!
page_tooltips = [
]
%>
<%def name="hd_script()">
${parent.hd_script()}
%def>
<%def name="showtag( tag )">
<% bb_style = "border-bottom : 2px solid darkkhaki;" %>
Items tagged as
${tag.tagname}
% if tag.attachments :
Attachments
<%
cont = [ '
%s(%s)' % \
( h.url_forattach(a.id), a.filename, a.id )
for a in tag.attachments
]
cont = ', '.join( cont )
%>
${cont | n}
% endif
% if tag.licenses :
License
<%
cont = [ '
%s' % \
( l.summary, h.url_forlicense(l.id), l.licensename )
for l in tag.licenses
]
cont = ', '.join( cont )
%>
${cont | n}
% endif
% if tag.projects :
Projects
<%
cont = [ '
%s' % \
( p.summary, h.url_forproject(p.projectname), p.projectname )
for p in tag.projects
]
cont = ', '.join( cont )
%>
${cont | n}
% endif
% if tag.tickets :
Tickets
<%
cont = [ '
%s' % \
( t.summary, h.url_forticket(t.project.projectname, t.id), t.id )
for t in tag.tickets
]
cont = ', '.join( cont )
%>
${cont | n}
% endif
% if tag.reviews :
Reviews
<%
cont = [ '
%s' % \
( h.url_forreview(r.project.projectname, r.id), r.id )
for r in tag.reviews
]
cont = ', '.join( cont )
%>
${cont | n}
% endif
% if tag.wikipages :
Wiki
<%
cont = [ '
%s' % \
( w.wikiurl, w.wikiurl )
for w in tag.wikipages
]
cont = ', '.join( cont )
%>
${cont | n}
% endif
%def>
<%def name="bd_body()">
<%
pagebartext = "Tag: %s" % c.tag.tagname
tagcloud = '
% if c.userpanes :
% else :
% endif
${charts.chart1( c.chart1_data, c.chart1_rtags )}
${showtag(c.tag)}
% if c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
%def>
<%def name="bd_script()">
${parent.bd_script()}
%def>