Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Oliver Eglseder
lfeditor
Commits
61d03aa8
Commit
61d03aa8
authored
Mar 20, 2015
by
damjan
Browse files
[BUGFIX] Trimming too long constants on EditFile page.
parent
91e8eb07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Resources/Private/Templates/EditFile/EditFile.html
View file @
61d03aa8
...
...
@@ -45,7 +45,9 @@
<f:for
each=
"{constValues}"
key=
"constKey"
as=
"constValue"
iteration=
"iterator"
>
<fieldset
class=
"tx-lfeditor-fieldset bgColor5 {lfe:extendedIf(condition: iterator.isOdd, or: parallelEdit, then: 'tx-lfeditor-fleft', else: 'tx-lfeditor-fright')}"
>
<legend
class=
"bgColor3"
>
{languageSelection}:{constKey}
</legend>
<legend
class=
"bgColor3 tx-lfeditor-constantMaxWidth400"
title=
"{languageSelection}:{constKey}"
>
{languageSelection}:{constKey}
</legend>
<lfe:extendedIf
condition=
"{languageSelection} == {defaultLanguage}"
and=
"{defaultLanguagePermission} != 'TRUE'"
>
<f:then>
<f:form.textarea
...
...
@@ -73,7 +75,9 @@
</fieldset>
<f:if
condition=
"{parallelEdit}"
>
<fieldset
class=
"tx-lfeditor-fieldset bgColor5 tx-lfeditor-fright"
>
<legend
class=
"bgColor3"
>
{referenceLanguageSelection}:{constKey}
</legend>
<legend
class=
"bgColor3 tx-lfeditor-constantMaxWidth400"
title=
"{referenceLanguageSelection}:{constKey}"
>
{referenceLanguageSelection}:{constKey}
</legend>
<lfe:extendedIf
condition=
"{referenceLanguageSelection} == {defaultLanguage}"
and=
"{defaultLanguagePermission} != 'TRUE'"
>
<f:then>
<f:form.textarea
...
...
Resources/Public/StyleSheets/Lfeditor.css
View file @
61d03aa8
...
...
@@ -62,6 +62,13 @@ fieldset.tx-lfeditor-fieldset legend {
border
:
1px
solid
#AAA
;
}
.tx-lfeditor-constantMaxWidth400
{
text-overflow
:
ellipsis
;
max-width
:
400px
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
fieldset
.tx-lfeditor-fieldset
p
,
fieldset
.tx-lfeditor-fieldset
p
input
{
margin
:
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment