Skip to content
Snippets Groups Projects
Commit 1e792e6b authored by Valentin Rigal's avatar Valentin Rigal Committed by Erwan Rouchet
Browse files

Model details link

parent 08de57a8
No related branches found
No related tags found
1 merge request!1557Model details link
<template>
<router-link
class="button is-pulled-right"
:to="{ name: 'model', params: { modelId } }"
target="_blank"
title="Open model version details in a new tab"
>
Model details
</router-link>
<div class="title is-4">Versions</div>
<div class="control">
<VersionList
......
......@@ -8,7 +8,7 @@
:value="modelValue?.name"
/>
</div>
<Modal is-large v-model="opened" :title="placeholder">
<Modal v-model="opened" :title="placeholder">
<button
type="button"
class="button is-info is-pulled-right mb-2"
......@@ -57,17 +57,13 @@
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th></th>
<th class="is-narrow"></th>
</tr>
</thead>
<tbody>
<tr v-for="model in results" :key="model.id">
<td :title="model.name">
{{ truncateShort(model.name) }}
</td>
<td :title="model.description">
{{ truncateShort(model.description) }}
{{ truncateLong(model.name) }}
</td>
<td>
<button
......
......@@ -61,8 +61,6 @@
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th></th>
</tr>
</thead>
<tbody>
......@@ -74,12 +72,8 @@
:class="{ 'is-selected': selectedModel === model.id }"
>
<td :title="model.name">
{{ truncateShort(model.name) }}
{{ truncateLong(model.name) }}
</td>
<td :title="model.description">
{{ truncateShort(model.description) }}
</td>
<td></td>
</tr>
</tbody>
</table>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment