Rework on scase page title

This commit is contained in:
Benjamin Renard 2016-09-07 19:06:36 +02:00
parent 93caf40a09
commit de3823985c

View file

@ -464,7 +464,7 @@ show_cat=function(cat,displayed) {
} }
show_scase=function(scase,display_cat) { show_scase=function(scase,display_cat) {
clear_page('<h2>Valise : <em>'+scase.name+'</em></h2><div class="panel-group" id="cats" role="tablist" aria-multiselectable="true" data-scase="'+scase.name+'"></div>'); clear_page('<h3><span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span> '+scase.name+'</h3><div class="panel-group" id="cats" role="tablist" aria-multiselectable="true" data-scase="'+scase.name+'"></div>');
scase.cats.each(function(idx,cat) { scase.cats.each(function(idx,cat) {
show_cat(cat,(cat.name==display_cat)); show_cat(cat,(cat.name==display_cat));
}); });