Mantis Bugtracker          
testlink.org

View Revisions: Issue #3583 All Revisions ] Back to Issue ]
Summary 0003583: [Contribution] A small change to add a more visible step separation (horizontal layout).
Revision 2010-07-06 14:42 by Julian
Description If you want to have a more visible step separation in horizontal layout, you can modify the \lib\gui\templates\inc_steps.tpl (search for "<!-- Begin of steps separator -->").
Revision 2010-07-06 14:37 by Julian
Description If you want to have a more visible step separation in horizontal layout, you can modify the \lib\gui\templates\inc_steps.tpl (search for "<!-- Begin of steps separator -->").


{if $layout == 'horizontal'}
    <tr>
        <th>
        {if $edit_enabled && $steps != ''}
            <img class="clickable" src="{$tlImages.reorder}" align="left"
                 title="{$labels.show_hide_reorder}"
                 onclick="showHideByClass('span','order_info');">
        {/if}
            {$labels.step_number}
        </th>
        <th>{$labels.step_actions}</th>
        <th>{$labels.expected_results}</th>
        {if $session['testprojectOptions']->automationEnabled}
        <th width="25">{$labels.execution_type_short_descr}</th>
        {/if}
        {if $edit_enabled}
        <th> </th>
        {/if}
    </tr>
    {* BUGID 3376 *}
    {foreach from=$steps item=step_info}
    <tr>
        <td style="text-align:left;">
            <span class="order_info" style='display:none'>
            <input type="text" name="step_set[{$step_info.id}]" id="step_set_{$step_info.id}"
                value="{$step_info.step_number}"
                size="{#STEP_NUMBER_SIZE#}"
                maxlength="{#STEP_NUMBER_MAXLEN#}">
            {include file="error_icon.tpl" field="step_number"}
            </span>{$step_info.step_number}
        </td>
        <td {if $edit_enabled} style="cursor:pointer;" onclick="launchEditStep({$step_info.id})" {/if}>{$step_info.actions}</td>
        <td {if $edit_enabled} style="cursor:pointer;" onclick="launchEditStep({$step_info.id})" {/if}>{$step_info.expected_results}</td>
        {if $session['testprojectOptions']->automationEnabled}
        <td {if $edit_enabled} style="cursor:pointer;" onclick="launchEditStep({$step_info.id})" {/if}>{$gui->execution_types[$step_info.execution_type]}</td>
        {/if}
        {if $edit_enabled}
        <td class="clickable_icon">
            <img style="border:none;cursor: pointer;"
                 title="{$labels.delete_step}"
                 alt="{$labels.delete_step}"
                 onclick="delete_confirmation({$step_info.id},'{$step_info.step_number|escape:'javascript'|escape}',
                                                   '{$del_msgbox_title}','{$warning_msg}');"
                 src="{$delete_img}"/>
        </td>
        {/if}
<!-- Begin of steps separator -->
        <tr width="100%">
{if $session['testprojectOptions']->automationEnabled}
      <td colspan=5>
{else}
      <td colspan=4>
{/if}
            <hr align="center" width="100%" color="white" size="8">
          </td>
        </tr>
<!-- End of steps separator -->
    </tr>
    {/foreach}
{else}
    {* Vertical layout *}



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker