Skip to content

Commit

Permalink
Merge branch 'MDL-62395-master' of git://github.com/junpataleta/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Oct 9, 2018
2 parents 261a3a3 + 7216596 commit 25fe592
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 19 deletions.
4 changes: 2 additions & 2 deletions admin/tool/dataprivacy/templates/categories.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
{{#pix}}t/add, moodle, {{#str}}addcategory, tool_dataprivacy{{/str}}{{/pix}}
</button>
</div>
<table class="generaltable fullwidth">
<table class="table table-striped table-hover">
<caption class="accesshide">{{#str}}categorieslist, tool_dataprivacy{{/str}}</caption>
<thead>
<tr>
<th scope="col">{{#str}}name{{/str}}</th>
<th scope="col">{{#str}}description{{/str}}</th>
<th scope="col" class="w-50">{{#str}}description{{/str}}</th>
<th scope="col">{{#str}}actions{{/str}}</th>
</tr>
</thead>
Expand Down
41 changes: 24 additions & 17 deletions admin/tool/dataprivacy/templates/purposes.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -63,52 +63,59 @@
{{#pix}}t/add, moodle, {{#str}}addpurpose, tool_dataprivacy{{/str}}{{/pix}}
</button>
</div>
<table class="generaltable fullwidth">
<table class="table table-striped table-hover">
<caption class="accesshide">{{#str}}purposeslist, tool_dataprivacy{{/str}}</caption>
<thead>
<tr>
<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>
<th scope="col" class="w-25">{{#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>
<th scope="col">{{#str}}protected, tool_dataprivacy{{/str}}</th>
<th scope="col">{{#str}}actions{{/str}}</th>
</tr>
</thead>
<tbody>
{{#purposes}}
<tr data-purposeid="{{id}}">
<td class="col-md-2">{{{name}}}</td>
<td class="col-md-3">{{{description}}}</td>
<td class="col-md-2">
<ul>
<td>
<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>
</li>
{{/formattedlawfulbases}}
</ul>
</td>
<td class="col-md-2">
<ul>
<td>
<ul class="list-unstyled">
{{#formattedsensitivedatareasons}}
<li>
<span>{{name}}{{# pix }} i/info, core, {{description}} {{/ pix }}</span>
</li>
{{/formattedsensitivedatareasons}}
</ul>
</td>
<td class="col-md-1">{{formattedretentionperiod}}</td>
<td class="col-md-1">
<td>{{formattedretentionperiod}}</td>
<td>
{{#protected}}
{{#pix}}i/checked, core, {{#str}}yes{{/str}}{{/pix}}
{{/protected}}
{{^protected}}
{{#str}}no{{/str}}
{{/protected}}
</td>
<td class="col-md-1">
<td>
{{#actions}}
{{> core/action_menu}}
{{/actions}}
Expand Down
12 changes: 12 additions & 0 deletions theme/bootstrapbase/less/moodle/bs4-compat.less
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,15 @@
.w-100 {
width: 100%;
}

.w-75 {
width: 75%;
}

.w-50 {
width: 50%;
}

.w-25 {
width: 25%;
}
9 changes: 9 additions & 0 deletions theme/bootstrapbase/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -22097,3 +22097,12 @@ ul.indented-list {
.w-100 {
width: 100%;
}
.w-75 {
width: 75%;
}
.w-50 {
width: 50%;
}
.w-25 {
width: 25%;
}

0 comments on commit 25fe592

Please sign in to comment.