Fix 'plus more' text

- Seen in Deployment list Images column
- Translation was missing, so only ever showed a single image
- Also moved global scoped `plus-more` to a more fitting place
This commit is contained in:
Richard Cox 2021-04-14 12:05:55 +01:00
parent 4004b1f670
commit 1e91680752
4 changed files with 8 additions and 6 deletions

View File

@ -249,3 +249,8 @@ $spacing-property-map: (
margin-bottom: 20px; margin-bottom: 20px;
border-radius: var(--border-radius); border-radius: var(--border-radius);
} }
.plus-more {
color: var( --input-placeholder );
font-size: 0.8em;
}

View File

@ -26,6 +26,7 @@ generic:
none: None none: None
number: '{prefix}{value, number}{suffix}' number: '{prefix}{value, number}{suffix}'
overview: Overview overview: Overview
plusMore: "+ {n} more"
readFromFile: Read from File readFromFile: Read from File
register: Register register: Register
remove: Remove remove: Remove

View File

@ -97,7 +97,7 @@ export default {
{{ route }} {{ route }}
</a> </a>
<br /> <br />
<span v-if="remaining > 0" class="plus-more">+{{ remaining }} more</span> <span v-if="remaining > 0" class="plus-more">{{ t('generic.plusMore', {n:remaining}) }}</span>
</span> </span>
</template> </template>

View File

@ -73,7 +73,7 @@ export default {
{{ methodToShow }} = {{ valueToShow }} {{ methodToShow }} = {{ valueToShow }}
</span> </span>
<br /> <br />
<span v-if="remaining>0" class="plus-more">+{{ remaining }} more</span> <span v-if="remaining>0" class="plus-more">{{ t('generic.plusMore', {n:remaining}) }}</span>
</span> </span>
<span v-else class="text-muted"> <span v-else class="text-muted">
&mdash; &mdash;
@ -84,8 +84,4 @@ export default {
.col-router-match { .col-router-match {
color: var(--input-label); color: var(--input-label);
} }
.plus-more{
color: var( --input-placeholder );
font-size: 0.8em;
}
</style> </style>