MDL-62395 tool_dataprivacy: Purpose name and description in one column

* Show the purpose's name and description under one column.
This commit is contained in:
Jun Pataleta
2018-10-05 09:28:48 +08:00
parent bd7573e471
commit 4db4682464
2 changed files with 14 additions and 8 deletions
+1 -2
View File
@@ -37,8 +37,7 @@ dd a.contactdpo {
margin: 1em;
}
[data-region="purposes"] .col-description,
[data-region="purposes"] .col-name {
[data-region="purposes"] .col-name-description {
width: 25%;
}
@@ -67,8 +67,7 @@
<caption class="accesshide">{{#str}}purposeslist, tool_dataprivacy{{/str}}</caption>
<thead>
<tr>
<th scope="col" class="col-name">{{#str}}name{{/str}}</th>
<th scope="col" class="col-description">{{#str}}description{{/str}}</th>
<th scope="col" class="col-name-description">{{#str}}name{{/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>
@@ -79,10 +78,18 @@
<tbody>
{{#purposes}}
<tr data-purposeid="{{id}}">
<td>{{{name}}}</td>
<td>{{{description}}}</td>
<td>
<ul>
<dl>
<dt>
{{{name}}}
</dt>
<dd>
{{{description}}}
</dd>
</dl>
</td>
<td>
<ul class="list-unstyled">
{{#formattedlawfulbases}}
<li>
<span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>
@@ -91,7 +98,7 @@
</ul>
</td>
<td>
<ul>
<ul class="list-unstyled">
{{#formattedsensitivedatareasons}}
<li>
<span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>