git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the tabs plugin has a persistent_active feature to enable saving the active tab in...
[myslice.git]
/
plugins
/
tabs
/
templates
/
tabs.html
diff --git
a/plugins/tabs/templates/tabs.html
b/plugins/tabs/templates/tabs.html
index
298dec9
..
60031f6
100644
(file)
--- a/
plugins/tabs/templates/tabs.html
+++ b/
plugins/tabs/templates/tabs.html
@@
-1,4
+1,4
@@
-<ul class="nav nav-tabs" id='tabs-{{ domid }}'>
+<ul class="nav nav-tabs
{%if persistent_active%} persistent-active{%endif%}
" id='tabs-{{ domid }}'>
{% for son in sons %}
<li{% if son.is_active %} class='active'{% endif %}> <a href="#tab-{{ son.domid }}" data-toggle="tab">{{ son.title }}</a> </li>
{% endfor %}
{% for son in sons %}
<li{% if son.is_active %} class='active'{% endif %}> <a href="#tab-{{ son.domid }}" data-toggle="tab">{{ son.title }}</a> </li>
{% endfor %}