From cc4bad62f07f2371a0fc3953e44cbdd689c46ce2 Mon Sep 17 00:00:00 2001 From: Catouse Date: Mon, 28 Apr 2014 13:49:52 +0800 Subject: [PATCH] * fixed onlybody option for some links. * ajusted style of module 'testtask'. --- module/common/model.php | 4 ++-- module/doc/view/create.html.php | 6 +++--- module/group/view/privbymodule.html.php | 2 +- module/my/view/profile.html.php | 2 +- module/testtask/view/results.html.php | 15 +++++++-------- module/testtask/view/runcase.html.php | 2 +- www/theme/default/style.css | 1 - 7 files changed, 15 insertions(+), 17 deletions(-) diff --git a/module/common/model.php b/module/common/model.php index ef46555a93..a774e80d14 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -231,8 +231,8 @@ class commonModel extends model if(!$isGuest) { - echo '
  • ' . html::a(helper::createLink('my', 'profile', 'onlybody=yes'), $lang->profile, '', "class='iframe' data-width='600'") . '
  • '; - echo '
  • ' . html::a(helper::createLink('my', 'changepassword', 'onlybody=yes'), $lang->changePassword, '', "class='iframe' data-width='500'") . '
  • '; + echo '
  • ' . html::a(helper::createLink('my', 'profile', '', '', true), $lang->profile, '', "class='iframe' data-width='600'") . '
  • '; + echo '
  • ' . html::a(helper::createLink('my', 'changepassword', '', '', true), $lang->changePassword, '', "class='iframe' data-width='500'") . '
  • '; echo "
  • "; } diff --git a/module/doc/view/create.html.php b/module/doc/view/create.html.php index cad4e1c923..1ad2d96ba0 100644 --- a/module/doc/view/create.html.php +++ b/module/doc/view/create.html.php @@ -13,7 +13,7 @@ doc->placeholder);?> -
    +
    icons['doc']);?> @@ -30,11 +30,11 @@ doc->project;?> - + doc->product;?> - + diff --git a/module/group/view/privbymodule.html.php b/module/group/view/privbymodule.html.php index fbf4cdb059..5f4bceb70d 100644 --- a/module/group/view/privbymodule.html.php +++ b/module/group/view/privbymodule.html.php @@ -14,8 +14,8 @@
    group->managePriv ;?> + group->byModuleTips; ?>
    -
    group->byModuleTips; ?>
      
    diff --git a/module/my/view/profile.html.php b/module/my/view/profile.html.php index bb468baa8e..5dd946b5d5 100644 --- a/module/my/view/profile.html.php +++ b/module/my/view/profile.html.php @@ -15,7 +15,7 @@
    icons['user']);?> my->profile;?>
    - createLink('my', 'editprofile'), $lang->user->editProfile, '', "class='btn btn-primary'");?> + createLink('my', 'editprofile', '', '', true), $lang->user->editProfile, '', "class='btn btn-primary'");?>
    diff --git a/module/testtask/view/results.html.php b/module/testtask/view/results.html.php index c336e3e233..02fc50f474 100644 --- a/module/testtask/view/results.html.php +++ b/module/testtask/view/results.html.php @@ -26,16 +26,15 @@ precondition;?> -
    +
    + - - - - + diff --git a/module/testtask/view/runcase.html.php b/module/testtask/view/runcase.html.php index 10e5b3fdf1..4bde4d43dc 100644 --- a/module/testtask/view/runcase.html.php +++ b/module/testtask/view/runcase.html.php @@ -15,7 +15,7 @@
    icons['usecase']);?> case->id;?> case->title;?> - testtask->runCase;?> icons['run']);?> + testtask->runCase;?> icons['run']);?>
    diff --git a/www/theme/default/style.css b/www/theme/default/style.css index eb58c54bd7..4dca9b49c1 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -535,7 +535,6 @@ body {font-size: 13px; color:#141414;padding-bottom: 40px;} .body-modal > form {padding-bottom: 15px;} .body-modal .outer > .container, .body-modal > .container{padding: 0; margin: 0; max-width: inherit !important; border: 0} .body-modal #titlebar .actions {right: 40px} -.body-modal #header, .body-modal #footer {display: none} .body-modal .outer, .body-modal #wrap{padding: 0!important; margin: 0!important;} .modal-dialog.fullscreen {width: 100% !important; height: 100% !important; margin: 0; border: none !important;}
    +
    testtask->build . $lang->colon . $build;?>
    + + RESULT#id . ' ' . $result->date . ' ' . $users[$result->lastRunner] . ' ' . $lang->testtask->runCase . ':'. " " . $lang->testcase->resultList[$result->caseResult] . '';?> +
    -
    RESULT#id . ' ' . $result->date . ' ' . $users[$result->lastRunner] . ' ' . $lang->testtask->runCase . ':'. " " . $lang->testcase->resultList[$result->caseResult] . '';?>
    -
    testtask->build . $lang->colon . $build;?>
    -
    testcase->stepID;?>testcase->stepID;?> testcase->stepDesc;?> testcase->stepExpect;?> testcase->result;?>