Merge branch 'sprint/fixbug_hufangzhou_17933' into 'master'
* Fix bug #17933. See merge request easycorp/zentaopms!3012
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
|
||||
a.setDefault {padding-left: 8px !important}
|
||||
|
||||
td.flex {display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: center;}
|
||||
td.flex .label-primary {min-width: 40px;}
|
||||
td.flex .setDefault {min-width: 120px;}
|
||||
td.branchName > span.text-ellipsis {display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
|
||||
td.branchName > span {vertical-align: middle;}
|
||||
|
||||
#mergeBranch .form-actions {padding-top: 20px;}
|
||||
.modal-body {padding-top: 0;}
|
||||
|
||||
@@ -37,13 +37,29 @@ $(function()
|
||||
}
|
||||
});
|
||||
|
||||
$('td.c-name.flex').mouseenter(function()
|
||||
{
|
||||
$(this).find('.setDefault').removeClass('hidden');
|
||||
}).mouseleave(function()
|
||||
{
|
||||
$(this).find('.setDefault').addClass('hidden');
|
||||
});
|
||||
//$('td.c-name.flex').mouseenter(function()
|
||||
//{
|
||||
// $(this).find('.setDefault').removeClass('hidden');
|
||||
// if($(this).find('span.label-primary').length > 0)
|
||||
// {
|
||||
// $(this).find('span.text-ellipsis').css('max-width', 'calc(100% - 50px)');
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $(this).find('span.text-ellipsis').css('max-width', 'calc(100% - 120px)');
|
||||
// }
|
||||
//}).mouseleave(function()
|
||||
//{
|
||||
// $(this).find('.setDefault').addClass('hidden');
|
||||
// if($(this).find('span.label-primary').length > 0)
|
||||
// {
|
||||
// $(this).find('span.text-ellipsis').css('max-width', 'calc(100% - 50px)');
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $(this).find('span.text-ellipsis').css('max-width', '100%');
|
||||
// }
|
||||
//});
|
||||
|
||||
$("input[id*='branchIDList']").change(function()
|
||||
{
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
<?php echo $isMain ? '' : '<i class="icon icon-move"></i>';?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<td class='c-name flex branchName' title='<?php echo $branch->name;?>'>
|
||||
<td class='c-name branchName' title='<?php echo $branch->name;?>'>
|
||||
<span class="text-ellipsis"><?php echo $branch->name;?> </span>
|
||||
<?php
|
||||
/* Fix bug#17342,由于默认分支的后续功能没做,暂时隐藏设置默认分支的功能 */
|
||||
|
||||
Reference in New Issue
Block a user