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

Wrap into one template with same logic

parent 55a169ac
...@@ -86,24 +86,22 @@ export default RepoFile; ...@@ -86,24 +86,22 @@ 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}} </a>
</a> </div>
</div> </td>
</td>
<td <td class="hidden-xs">
v-if="!isMini" <span
class="hidden-xs"> class="commit-update"
<span :title="tooltipTitle(file.lastCommitUpdate)">
class="commit-update" {{timeFormated(file.lastCommitUpdate)}}
:title="tooltipTitle(file.lastCommitUpdate)"> </span>
{{timeFormated(file.lastCommitUpdate)}} </td>
</span> </template>
</td>
</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