Skip to content

Commit

Permalink
MDL-61899 tool_dataprivacy: Fix table column width distribution
Browse files Browse the repository at this point in the history
Includes MDL-61935
  • Loading branch information
junpataleta authored and stronk7 committed Apr 18, 2018
1 parent 5750d23 commit d21f89c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions admin/tool/dataprivacy/templates/purposes.mustache
Expand Up @@ -67,22 +67,22 @@
<table class="generaltable fullwidth">
<caption class="accesshide">{{#str}}purposeslist, tool_dataprivacy{{/str}}</caption>
<thead>
<tr>
<th scope="col">{{#str}}name{{/str}}</th>
<th scope="col">{{#str}}description{{/str}}</th>
<th scope="col">{{#str}}lawfulbases, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}retentionperiod, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}protected, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}actions{{/str}}</th>
<tr style="display: flex;">
<th scope="col" class="col-md-2">{{#str}}name{{/str}}</th>
<th scope="col" class="col-md-3">{{#str}}description{{/str}}</th>
<th scope="col" class="col-md-2">{{#str}}lawfulbases, tool_dataprivacy{{/str}}</th>
<th scope="col" class="col-md-2">{{#str}}sensitivedatareasons, tool_dataprivacy{{/str}}</th>
<th scope="col" class="col-md-1">{{#str}}retentionperiod, tool_dataprivacy{{/str}}</th>
<th scope="col" class="col-md-1">{{#str}}protected, tool_dataprivacy{{/str}}</th>
<th scope="col" class="col-md-1">{{#str}}actions{{/str}}</th>
</tr>
</thead>
<tbody>
{{#purposes}}
<tr data-purposeid="{{id}}">
<td>{{{name}}}</td>
<td>{{{description}}}</td>
<td>
<td class="col-md-2">{{{name}}}</td>
<td class="col-md-3">{{{description}}}</td>
<td class="col-md-2">
<ul>
{{#formattedlawfulbases}}
<li>
Expand All @@ -91,7 +91,7 @@
{{/formattedlawfulbases}}
</ul>
</td>
<td>
<td class="col-md-2">
<ul>
{{#formattedsensitivedatareasons}}
<li>
Expand All @@ -100,16 +100,16 @@
{{/formattedsensitivedatareasons}}
</ul>
</td>
<td>{{formattedretentionperiod}}</td>
<td>
<td class="col-md-1">{{formattedretentionperiod}}</td>
<td class="col-md-1">
{{#protected}}
{{#pix}}i/checked, core, {{#str}}yes{{/str}}{{/pix}}
{{/protected}}
{{^protected}}
{{#str}}no{{/str}}
{{/protected}}
</td>
<td>
<td class="col-md-1">
{{#actions}}
{{> core/action_menu}}
{{/actions}}
Expand Down

0 comments on commit d21f89c

Please sign in to comment.