Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_mail
Commits
fc464cbe
Commit
fc464cbe
authored
6 years ago
by
Kevin Ditscheid
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Add panels to the language labels so it becomes prettier
parent
fdabd6b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Resources/Private/Templates/Mail/Index.html
+55
-50
55 additions, 50 deletions
Resources/Private/Templates/Mail/Index.html
with
55 additions
and
50 deletions
Resources/Private/Templates/Mail/Index.html
+
55
−
50
View file @
fc464cbe
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<p>
{templateDescription}
</p>
<p>
{templateDescription}
</p>
</div>
</div>
<div
class=
" col-md-3"
>
<div
class=
" col-md-3"
>
<f:link.action
class=
"reset-btn reset-all-btn btn-danger btn col-md-12"
action=
"reset"
arguments=
"{template: selectedTemplateKey, extensionKey: selectedTemplate.extension}"
>
{f:translate(key:'backend.button_reset_all')}
</f:link.action>
<f:link.action
class=
"reset-btn reset-all-btn btn-danger btn col-md-12"
action=
"reset"
arguments=
"{template: selectedTemplateKey, extensionKey: selectedTemplate.extension}"
>
{f:translate(key:'backend.button_reset_all')}
</f:link.action>
</div>
</div>
</div>
</div>
<div
class=
"col-md-12 row"
>
<div
class=
"col-md-12 row"
>
...
@@ -76,56 +76,60 @@
...
@@ -76,56 +76,60 @@
</div>
</div>
<f:for
each=
"{languageTemplates}"
as=
"languageTemplate"
key=
"key"
>
<f:for
each=
"{languageTemplates}"
as=
"languageTemplate"
key=
"key"
>
<div
class=
"template-col col-md-{colspace}"
>
<div
class=
"template-col col-md-{colspace}"
>
<f:for
each=
"{languageLabels}"
as=
"label"
key=
"innerKey"
>
<div
class=
"panel panel-default row"
>
<f:if
condition=
"{key} == {innerKey}"
>
<div
class=
"panel-body"
>
<h3>
<f:for
each=
"{languageLabels}"
as=
"label"
key=
"innerKey"
>
<f:if
condition=
"{key}=='default'"
>
<f:if
condition=
"{key} == {innerKey}"
>
<f:then>
<h3>
{defaultLanguageLabel}
<f:if
condition=
"{key}=='default'"
>
</f:then>
<f:then>
<f:else>
{defaultLanguageLabel}
{label}
</f:then>
</f:else>
<f:else>
{label}
</f:else>
</f:if>
<f:if
condition=
"{languageTemplate.isOverwritten}"
>
<f:translate
key=
"backend.is_overwritten"
/>
</f:if>
</h3>
</f:if>
</f:if>
<f:if
condition=
"{languageTemplate.isOverwritten}"
>
</f:for>
<f:translate
key=
"backend.is_overwritten"
/>
</f:if>
</h3>
</f:if>
</f:for>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][fromName]"
class=
""
>
{f:translate(key:'backend.fromName')}
</label>
<label
for=
"parameters[templates][{key}][fromName]"
class=
""
>
{f:translate(key:'backend.fromName')}
</label>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.fromName}"
name=
"parameters[templates][{key}][fromName]"
/>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.fromName}"
name=
"parameters[templates][{key}][fromName]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][fromMail]"
class=
""
>
{f:translate(key:'backend.fromMail')}
</label>
<label
for=
"parameters[templates][{key}][fromMail]"
class=
""
>
{f:translate(key:'backend.fromMail')}
</label>
<f:form.textfield
type=
"email"
class=
"form-control"
value=
"{languageTemplate.fromMail}"
name=
"parameters[templates][{key}][fromMail]"
/>
<f:form.textfield
type=
"email"
class=
"form-control"
value=
"{languageTemplate.fromMail}"
name=
"parameters[templates][{key}][fromMail]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][toAddress]"
class=
""
>
{f:translate(key:'backend.to_form')}
</label>
<label
for=
"parameters[templates][{key}][toAddress]"
class=
""
>
{f:translate(key:'backend.to_form')}
</label>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.toAddress}"
name=
"parameters[templates][{key}][toAddress]"
/>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.toAddress}"
name=
"parameters[templates][{key}][toAddress]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][cc]"
class=
""
>
{f:translate(key:'backend.cc')}
</label>
<label
for=
"parameters[templates][{key}][cc]"
class=
""
>
{f:translate(key:'backend.cc')}
</label>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.cc}"
name=
"parameters[templates][{key}][cc]"
/>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.cc}"
name=
"parameters[templates][{key}][cc]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][bcc]"
class=
""
>
{f:translate(key:'backend.bcc')}
</label>
<label
for=
"parameters[templates][{key}][bcc]"
class=
""
>
{f:translate(key:'backend.bcc')}
</label>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.bcc}"
name=
"parameters[templates][{key}][bcc]"
/>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.bcc}"
name=
"parameters[templates][{key}][bcc]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][replyTo]"
class=
""
>
{f:translate(key:'backend.replyTo')}
</label>
<label
for=
"parameters[templates][{key}][replyTo]"
class=
""
>
{f:translate(key:'backend.replyTo')}
</label>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.replyTo}"
name=
"parameters[templates][{key}][replyTo]"
/>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.replyTo}"
name=
"parameters[templates][{key}][replyTo]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][subject]"
class=
""
>
{f:translate(key:'backend.subject')}
</label>
<label
for=
"parameters[templates][{key}][subject]"
class=
""
>
{f:translate(key:'backend.subject')}
</label>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.subject}"
name=
"parameters[templates][{key}][subject]"
/>
<f:form.textfield
type=
"text"
class=
"form-control"
value=
"{languageTemplate.subject}"
name=
"parameters[templates][{key}][subject]"
/>
</div>
</div>
<div
class=
"row form-group"
>
<div
class=
"row form-group"
>
<label
for=
"parameters[templates][{key}][content]"
class=
""
>
{f:translate(key:'backend.content')}
</label>
<label
for=
"parameters[templates][{key}][content]"
class=
""
>
{f:translate(key:'backend.content')}
</label>
<f:form.textarea
class=
"form-control"
rows=
"15"
name=
"parameters[templates][{key}][content]"
value=
"{languageTemplate.content}"
/>
<f:form.textarea
class=
"form-control"
rows=
"15"
name=
"parameters[templates][{key}][content]"
value=
"{languageTemplate.content}"
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -147,7 +151,8 @@
...
@@ -147,7 +151,8 @@
<tr
data-uid=
"{page.pid}"
>
<tr
data-uid=
"{page.pid}"
>
<td
nowrap=
"nowrap"
class=
"col-title"
>
<td
nowrap=
"nowrap"
class=
"col-title"
>
<a
href=
"#"
onclick=
"sgMailGoToPage({page.uid}, '{page.path}'); return false;"
>
<a
href=
"#"
onclick=
"sgMailGoToPage({page.uid}, '{page.path}'); return false;"
>
<sgm:backend.icon
table=
"pages"
row=
"{page}"
clickMenu=
"0"
/>
{page._thePathFull}
<sgm:backend.icon
table=
"pages"
row=
"{page}"
clickMenu=
"0"
/>
{page._thePathFull}
</a>
</a>
</td>
</td>
</tr>
</tr>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment