# Tab link for tab headers
fun tab_link: Template do
var tpl = new Template
tpl.addn "<li class='{if is_active then "active" else ""}'>"
tpl.addn " <a data-toggle='tab' href='#{id}'>"
var icon = self.icon
if icon != null then
tpl.addn " <span class='glyphicon glyphicon-{icon}'></span>"
end
tpl.addn " {title}"
tpl.addn " </a>"
tpl.addn "</li>"
return tpl
end
src/doc/static/static_html.nit:211,2--225,4
redef fun tab_link do
var tpl = new Template
tpl.addn "<li class='{if is_active then "active" else ""}'>"
tpl.addn " <a href='{url.html_escape}'>"
var icon = self.icon
if icon != null then
tpl.addn " <span class='glyphicon glyphicon-{icon}'></span>"
end
tpl.addn " {title}"
tpl.addn " </a>"
tpl.addn "</li>"
return tpl
end
src/doc/static/static_html.nit:254,2--267,4