Commit c0c4b276 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Update ItemMergeRequestComponent structure

parent 17046c35
...@@ -20,13 +20,33 @@ ...@@ -20,13 +20,33 @@
}, },
template: ` template: `
<div> <div>
<p> <div class="item-details">
<h5> <img class="avatar" :src="mergeRequest.author.avatarUrl">
<a href="mergeRequest.url"> <h5 class="item-title">
<a :href="mergeRequest.url">
{{ mergeRequest.title }} {{ mergeRequest.title }}
</a> </a>
</h5> </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> </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