mirror of https://github.com/rancher/dashboard.git
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:
parent
4004b1f670
commit
1e91680752
|
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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">
|
||||||
—
|
—
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue