Skip to content
Snippets Groups Projects
Commit 85f5c26e authored by Chris Lawton's avatar Chris Lawton
Browse files

rename sub-child table rows to submission meta

parent 6fda41cd
No related branches found
No related tags found
No related merge requests found
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
{% with submission=row.record %} {% with submission=row.record %}
<tr class="all-submissions__child" data-parent-id="{{ row.record.id }}"> <tr class="all-submissions__child" data-parent-id="{{ row.record.id }}">
<td colspan="{{ table.columns|length }}"> <td colspan="{{ table.columns|length }}">
<table class="table table--transparent"> <table class="submission-meta">
<tr class="tr tr--subchild"> <tr class="submission-meta__row">
<th><h6 class="heading heading--normal heading--no-margin">Applicant</h6></th> <th><h6 class="heading heading--normal heading--no-margin">Applicant</h6></th>
<th><h6 class="heading heading--normal heading--no-margin">Last updated</h6></th> <th><h6 class="heading heading--normal heading--no-margin">Last updated</h6></th>
<th><h6 class="heading heading--normal heading--no-margin">Reviewers / Outcomes</h6></th> <th><h6 class="heading heading--normal heading--no-margin">Reviewers / Outcomes</h6></th>
</tr> </tr>
<tr class="tr tr--subchild tr--black"> <tr class="submission-meta__row submission-meta__row--black">
<td><strong>{{ submission.full_name }}</strong></td> <td><strong>{{ submission.full_name }}</strong></td>
<td> <td>
{% with row.record.activities.last as last_update %} {% with row.record.activities.last as last_update %}
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
{# we have a linked application, re-render the header row #} {# we have a linked application, re-render the header row #}
<tr class="all-submissions__child" data-parent-id="{{ row.record.id }}"> <tr class="all-submissions__child" data-parent-id="{{ row.record.id }}">
<td colspan="{{ table.columns|length }}"> <td colspan="{{ table.columns|length }}">
<table class="table table--transparent"> <table class="submission-meta">
<tr class="tr tr--subchild"> <tr class="submission-meta__row">
{% for column in row.table.columns %} {% for column in row.table.columns %}
{% if forloop.first %} {% if forloop.first %}
<th>Linked {{ row.record.previous.stage }}</th> <th>Linked {{ row.record.previous.stage }}</th>
......
.submission-meta {
background-color: transparent;
&__row {
border: 0;
&:hover {
box-shadow: none;
}
&--black {
color: $color--default;
}
}
}
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
@import 'components/reviews-summary'; @import 'components/reviews-summary';
@import 'components/reviews-sidebar'; @import 'components/reviews-sidebar';
@import 'components/select2'; @import 'components/select2';
@import 'components/submission-meta';
@import 'components/table'; @import 'components/table';
@import 'components/traffic-light'; @import 'components/traffic-light';
@import 'components/wrapper'; @import 'components/wrapper';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment