* finish task #4673.
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
#tplBoxWrapper > .btn-toolbar {position: absolute; right: 0px; top: 0px;}
|
||||
#tplBoxWrapper .btn {padding: 4px 8px}
|
||||
#tplBox li {position: relative;}
|
||||
#tplBox li .btn-delete {position: absolute; right: 0; top: 0; display: block; width: 40px; text-align:center;}
|
||||
#tplBox li .btn-delete {position: absolute; right: 0; top: -5px; display: block; width: 40px; text-align:center;}
|
||||
#tplBox li:hover .btn-delete {color:#fff;}
|
||||
#tplBox li .tpl-name {padding-right: 40px;}
|
||||
|
||||
#module_chosen.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -5,7 +5,7 @@ foreach($templates as $key => $template)
|
||||
echo "<a title='{$lang->bug->applyTemplate}' class='tpl-name' id='tplTitleBox$template->id' href='javascript:setTemplate($template->id)'>";
|
||||
if($template->public) echo "<span class='label label-info label-badge'>{$lang->public}</span> ";
|
||||
echo $template->title . "</a>";
|
||||
if(empty($template->public) or $template->account == $app->user->account)echo "<a href='###' onclick='deleteTemplate($template->id)' id='templateID$template->id' class='btn-delete hidden'><i class='icon-remove'></i></a>";
|
||||
if(empty($template->public) or $template->account == $app->user->account)echo "<a href='###' onclick='deleteTemplate($template->id)' id='templateID$template->id' class='btn-delete hidden'><i class='icon-trash'></i></a>";
|
||||
echo "<span id='template$template->id' class='hidden'>$template->content</span>";
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user