Commit 59aec845 authored by Eric Eastwood's avatar Eric Eastwood

Wrap into one template with same logic

parent 55a169ac
...@@ -86,9 +86,8 @@ export default RepoFile; ...@@ -86,9 +86,8 @@ export default RepoFile;
</a> </a>
</td> </td>
<td <template v-if="!isMini">
v-if="!isMini" <td class="hidden-sm hidden-xs">
class="hidden-sm hidden-xs">
<div class="commit-message"> <div class="commit-message">
<a @click.stop :href="file.lastCommitUrl"> <a @click.stop :href="file.lastCommitUrl">
{{file.lastCommitMessage}} {{file.lastCommitMessage}}
...@@ -96,14 +95,13 @@ export default RepoFile; ...@@ -96,14 +95,13 @@ export default RepoFile;
</div> </div>
</td> </td>
<td <td class="hidden-xs">
v-if="!isMini"
class="hidden-xs">
<span <span
class="commit-update" class="commit-update"
:title="tooltipTitle(file.lastCommitUpdate)"> :title="tooltipTitle(file.lastCommitUpdate)">
{{timeFormated(file.lastCommitUpdate)}} {{timeFormated(file.lastCommitUpdate)}}
</span> </span>
</td> </td>
</template>
</tr> </tr>
</template> </template>
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