-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add text position and sizing options to external links
* Larger element width -> more links side by side * Aim to keep link width consistent across element widths * Larger element width -> larger link widths available * Aim to stay consistent with widths of adjacent elements (e.g. text block width) for "text right" variant. * Divvy up available width in "text below" variant. Each increase of link width results in reduction of column number by one. REDMINE-20852
- Loading branch information
Showing
11 changed files
with
476 additions
and
80 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
entry_types/scrolled/config/locales/new/ext-link-options.de.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,63 @@ | ||
de: | ||
pageflow: | ||
external_links_options: | ||
feature_name: "External Links Optionen" | ||
pageflow_scrolled: | ||
editor: | ||
content_elements: | ||
externalLinkList: | ||
attributes: | ||
thumbnailAspectRatio: | ||
label: "Thumbnail Seitenverhältnis" | ||
inline_help: |- | ||
Bestimme die Proportion der Thumbnails. Wird der Text | ||
neben dem Bild gezeigt, kann längerer Text dazu | ||
führen, dass ein hochformatigeres Seitenverähltnis | ||
gewählt wird, damit das Thumbnail die gesamte Höhe des | ||
Links überdeckt. | ||
values: | ||
narrow: Landscape (4:3) | ||
portrait: Portrait (3:4) | ||
square: Quadratisch (1:1) | ||
wide: Landscape (16:9) | ||
original: Original | ||
textPosition: | ||
label: "Textposition" | ||
inline_help: |- | ||
Anordnung von Bild und Text innerhalb von Links. | ||
values: | ||
below: "Unter dem Bild" | ||
right: "Rechts neben dem Bild" | ||
title: "Nur Bild" | ||
thumbnailSize: | ||
label: "Thumbnail-Breite" | ||
inline_help: |- | ||
Anteil der Thumbnail-Breite im Verhältnis zur | ||
Gesamtbreite des Links. | ||
values: | ||
small: "Klein" | ||
medium: "Mittel" | ||
large: "Groß" | ||
linkWidth: | ||
label: "Link-Breite" | ||
inline_help: |- | ||
Wähle eine schmalere Breite, um mehr Links | ||
nebeneinander anzuordnen. | ||
linkAlignment: | ||
label: "Link-Ausrichtung" | ||
inline_help: |- | ||
Bestimmt die Ausrichtung in Zeilen, die nicht | ||
vollständig mit Links gefüllt sind. | ||
values: | ||
spaceEvenly: Gleichmäßig verteilt | ||
left: Links | ||
right: Rechts | ||
center: Mittig | ||
textSize: | ||
label: "Schriftgröße" | ||
inline_help: | | ||
Legt die Schriftgröße für Titel und Beschreibung der Links fest. | ||
values: | ||
small: Klein | ||
medium: Mittel | ||
large: Groß |
48 changes: 48 additions & 0 deletions
48
entry_types/scrolled/config/locales/new/ext-link-options.en.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,62 @@ | ||
en: | ||
pageflow: | ||
external_links_options: | ||
feature_name: "External Links Options" | ||
pageflow_scrolled: | ||
editor: | ||
content_elements: | ||
externalLinkList: | ||
attributes: | ||
thumbnailAspectRatio: | ||
label: "Thumbnail aspect ratio" | ||
inline_help: |- | ||
Determine the proportions of the thumbnails. If the | ||
text is displayed next to the image, longer text may | ||
result in a more portrait-like aspect ratio so that | ||
the thumbnail covers the entire height of the link. | ||
values: | ||
narrow: Landscape (4:3) | ||
portrait: Portrait (3:4) | ||
square: Square (1:1) | ||
wide: Landscape (16:9) | ||
original: Original | ||
textPosition: | ||
label: "Text position" | ||
inline_help: |- | ||
Arrangement of image and text within links. | ||
values: | ||
below: "Below image" | ||
right: "Right from image" | ||
title: "Image only" | ||
thumbnailSize: | ||
label: "Thumbnail width" | ||
inline_help: |- | ||
Proportion of the thumbnail width relative to the | ||
overall width of the link. | ||
values: | ||
small: "Small" | ||
medium: "Medium" | ||
large: "Large" | ||
linkWidth: | ||
label: "Link width" | ||
inline_help: |- | ||
Choose a narrower width to arrange more links | ||
side by side. | ||
linkAlignment: | ||
label: "Link alignment" | ||
inline_help: |- | ||
Determines the alignment in rows that are not | ||
completely filled with links. | ||
values: | ||
spaceEvenly: Space evenly | ||
left: Left | ||
right: Right | ||
center: Center | ||
textSize: | ||
label: "Text size" | ||
inline_help: |- | ||
Defines the font size for the title and description of the links. | ||
values: | ||
small: Small | ||
medium: Medium | ||
large: Large |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.