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;
border-radius: var(--border-radius);
}
.plus-more {
color: var( --input-placeholder );
font-size: 0.8em;
}

View File

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

View File

@ -97,7 +97,7 @@ export default {
{{ route }}
</a>
<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>
</template>

View File

@ -73,7 +73,7 @@ export default {
{{ methodToShow }} = {{ valueToShow }}
</span>
<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 v-else class="text-muted">
&mdash;
@ -84,8 +84,4 @@ export default {
.col-router-match {
color: var(--input-label);
}
.plus-more{
color: var( --input-placeholder );
font-size: 0.8em;
}
</style>