Skip to content

Commit

Permalink
Hide Requirement coverage in Others Versions in ReqView
Browse files Browse the repository at this point in the history
Coverage is linked to a Requirement, not to a Req Version.
Editing coverage in others passed versions has an impact on current
version. That is disturbing for the user. Hidding req coverage to
provide the same user experience provided for attachments, relations and
monitoring information
  • Loading branch information
Bob Le Bricodeur committed Jan 1, 2018
1 parent e3acd44 commit cc978cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui/templates/requirements/reqViewVersions.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ var {$gui->dialogName} = new std_dialog('&refreshTree');
show_hide_container_view_status_id=$memstatus_id}
<div id="{$div_id}" class="workBack">
{include file="$this_template_dir/reqViewVersionsViewer.tpl"
args_req_coverage=$gui->req_coverage
args_hide_coverage=true
args_req=$my_req
args_gui=$gui
args_grants=$gui->grants
Expand Down
4 changes: 3 additions & 1 deletion gui/templates/requirements/reqViewVersionsViewer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ viewer for requirement
</fieldset>
</td>
</tr>
{if !isset($args_hide_coverage)}
<td>
<fieldset class="x-fieldset x-form-label-left"><legend class="legend_container">{$labels.coverage}</legend>
{if $gui->user_feedback != ''}
Expand Down Expand Up @@ -226,7 +227,8 @@ viewer for requirement

</fieldset>
</td>
</tr>
{/if}

<tr>
<td>&nbsp;</td>
</tr>
Expand Down

0 comments on commit cc978cf

Please sign in to comment.