Use local-datetime components
This commit is contained in:
parent
c5800a8c98
commit
588584ccee
@ -1,4 +1,5 @@
|
|||||||
import Modal from '../../mixins/modal'
|
import Modal from '../../mixins/modal'
|
||||||
|
import LocalDatetime from '../../components/local_datetime'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'requests-list',
|
name: 'requests-list',
|
||||||
@ -7,6 +8,7 @@ export default {
|
|||||||
|
|
||||||
components: {
|
components: {
|
||||||
Modal,
|
Modal,
|
||||||
|
LocalDatetime
|
||||||
},
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
@ -121,9 +121,9 @@
|
|||||||
<a class='icon-link icon-link--large' :href="r.edit_link">!{ r.name }</a>
|
<a class='icon-link icon-link--large' :href="r.edit_link">!{ r.name }</a>
|
||||||
<span v-if="r.action_required" class="label label--info">Action Required</span>
|
<span v-if="r.action_required" class="label label--info">Action Required</span>
|
||||||
</th>
|
</th>
|
||||||
<td>!{ r.last_submission_timestamp}</td>
|
<td><local-datetime :timestamp="r.last_submission_timestamp" format="M/D/YYYY"></td>
|
||||||
{% if extended_view %}
|
{% if extended_view %}
|
||||||
<td>!{ r.last_edited_timestamp }</td>
|
<td><local-datetime :timestamp="r.last_edited_timestamp" format="M/D/YYYY"></td>
|
||||||
<td>!{ r.full_name }</td>
|
<td>!{ r.full_name }</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td>!{ r.annual_usage }</td>
|
<td>!{ r.annual_usage }</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user