Commit c0c4b276 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Update ItemMergeRequestComponent structure

parent 17046c35
......@@ -20,13 +20,33 @@
},
template: `
<div>
<p>
<h5>
<a href="mergeRequest.url">
<div class="item-details">
<img class="avatar" :src="mergeRequest.author.avatarUrl">
<h5 class="item-title">
<a :href="mergeRequest.url">
{{ mergeRequest.title }}
</a>
</h5>
</p>
<a :href="mergeRequest.url" class="issue-link">
!{{ mergeRequest.iid }}
</a>
&middot;
<span>
Opened
<a :href="mergeRequest.url" class="issue-date">
{{ mergeRequest.createdAt }}
</a>
</span>
<span>
by
<a :href="mergeRequest.author.webUrl" class="issue-author-link">
{{ mergeRequest.author.name }}
</a>
</span>
</div>
<div class="item-time">
<total-time :time="mergeRequest.totalTime"></total-time>
</div>
</div>
`,
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment