Skip to content
Snippets Groups Projects
Commit bfae888a authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Display updated date for reviews.

parent de9783d0
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<a href="{% url 'apply:submissions:reviews:review' submission_pk=review.submission.id pk=review.id %}"> <a href="{% url 'apply:submissions:reviews:review' submission_pk=review.submission.id pk=review.id %}">
<span>{{ review.author }}</span> <span>{{ review.author }}</span>
</a> </a>
<div class="reviews-sidebar__date">{{ review.updated_at|date:"Y-m-d" }}</div>
{% else %} {% else %}
<span>{{ review.author }}</span> <span>{{ review.author }}</span>
{% endif %} {% endif %}
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="admin-bar"> <div class="admin-bar">
<div class="admin-bar__inner"> <div class="admin-bar__inner">
<h1 class="beta heading heading--no-margin heading--bold">Review</h1> <h1 class="beta heading heading--no-margin heading--bold">Review</h1>
<h5>For <a href="{% url "funds:submissions:detail" review.submission.id %}">{{ review.submission.title }}</a> by {{ review.author }}</h5> <h5>For <a href="{% url "funds:submissions:detail" review.submission.id %}">{{ review.submission.title }}</a> by {{ review.author }} at {{ review.updated_at|date:"Y-m-d" }}</h5>
</div> </div>
</div> </div>
......
// Strip the unit from the given value and return the value
@function strip-unit($value) {
@return $value / ($value * 0 + 1);
}
// Return an em unit based on the pixel value and context
@function rem($px, $context: $base-font-size) {
@return #{strip-unit($px / strip-unit($context))}rem;
}
// Returns the opposite direction of each direction in a list // Returns the opposite direction of each direction in a list
// @param {List} $directions - List of initial directions // @param {List} $directions - List of initial directions
// @return {List} - List of opposite directions // @return {List} - List of opposite directions
......
...@@ -62,6 +62,10 @@ ...@@ -62,6 +62,10 @@
} }
} }
&__date {
@include font-size(milli);
}
&__no-reviews { &__no-reviews {
color: $color--mid-grey; color: $color--mid-grey;
} }
......
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