diff --git a/install/static/entity.js b/install/static/entity.js index 908263a26..b980c9569 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -448,6 +448,8 @@ IPA.nested_tabs = function(entity_name){ return siblings; }; +IPA.selected_icon = '▶ '; +IPA.back_icon = '◀ '; IPA. facet_create_action_panel = function(container) { @@ -502,6 +504,7 @@ IPA. facet_create_action_panel = function(container) { if (entity.facets.length > 0 ){ if ( entity.facets[0].name === IPA.current_facet( entity)){ main_facet.text( IPA.metadata[entity_name].label); + main_facet.removeClass('back-to-search'); main_facet.appendTo(ul); ul.append($('
  • ')); }else{ @@ -509,11 +512,8 @@ IPA. facet_create_action_panel = function(container) { $('',{ "class":"input_link" }). - append( - $('',{ - "class":"ui-icon ui-icon-triangle-1-w " - })). - append('Back to List ')); + append(IPA.back_icon + ' Back to List ')); + main_facet.addClass('back-to-search'); main_facet.appendTo(ul); } } @@ -540,7 +540,7 @@ IPA. facet_create_action_panel = function(container) { li.after(link ); /* If we are on the current facet, we make the text black, non-clickable, - add an icon and make suer the action controls are positioned underneath it. + add an icon and make sure the action controls are positioned underneath it. */ if ( other_facet.name === IPA.current_facet( entity)){ var text = link.text(); @@ -548,10 +548,8 @@ IPA. facet_create_action_panel = function(container) { link.append($('