Skip to content

Commit

Permalink
Control Panel: added icon for section into lang_definitions grid.
Browse files Browse the repository at this point in the history
+changed css for grid cells. added text-overflow ellipsis
  • Loading branch information
abolabo committed Oct 28, 2015
1 parent a343ab5 commit 0d32db5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@
text-overflow: ellipsis;
}

.ui-jqgrid tr.jqgrow td:last-child{
overflow: visible;
}


.ui-jqgrid tr.jqgrow td .btn_grid {
font-size: 14px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ echo $this->html->buildElement(
});
$('#lang_definition_grid tr').each(function(){
if(!data.hasOwnProperty('userdata') || data['userdata'].hasOwnProperty('section') || !$(this).attr('id')){
return false;
}
var value = data['userdata']['section'][$(this).attr('id')];
if(value==1){
$(this).find('td[aria-describedby="lang_definition_grid_block"]').prepend('<i class="fa fa-globe" title="<?php echo $entry_section.': '.$text_storefront;?>"></i>&nbsp;');
Expand Down

0 comments on commit 0d32db5

Please sign in to comment.