diff --git a/src/components/Model/Model.vue b/src/components/Model/Model.vue index 71b07518b5d7aad5738f39366f8660ac8a812017..93e05e4563034ab5c0b2b7b2add1fa536c891f9c 100644 --- a/src/components/Model/Model.vue +++ b/src/components/Model/Model.vue @@ -1,4 +1,12 @@ <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 diff --git a/src/components/Model/ModelPicker.vue b/src/components/Model/ModelPicker.vue index a0da345923dafa010e418b920499d44d8a37caf7..21340110a5492b6404873ff2e56a3427f871ea79 100644 --- a/src/components/Model/ModelPicker.vue +++ b/src/components/Model/ModelPicker.vue @@ -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 diff --git a/src/views/Model/List.vue b/src/views/Model/List.vue index 84b310402f8f5298ee3e33ee13439935b20d7a92..f1aa09a23f9c6c4d8db902ac3bcea5dbafdd91c7 100644 --- a/src/views/Model/List.vue +++ b/src/views/Model/List.vue @@ -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>