Skip to content
Snippets Groups Projects
Commit 11132498 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Style reviews

parent adaefc17
No related branches found
No related tags found
1 merge request!3New version 4 1
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
<source>Reset template</source> <source>Reset template</source>
<target>Template zurücksetzen</target> <target>Template zurücksetzen</target>
</trans-unit> </trans-unit>
<trans-unit id="backend.button_reset_filter" approved="yes">
<source>Reset</source>
<target>Zurücksetzen</target>
</trans-unit>
<trans-unit id="backend.cc" approved="yes"> <trans-unit id="backend.cc" approved="yes">
<source>CC (Carbon Copy Receiver, comma separated)</source> <source>CC (Carbon Copy Receiver, comma separated)</source>
<target>CC (Kopieempfänger, komma-separiert)</target> <target>CC (Kopieempfänger, komma-separiert)</target>
...@@ -77,6 +81,10 @@ ...@@ -77,6 +81,10 @@
<source>Last sent until:</source> <source>Last sent until:</source>
<target>Zuletzt gesendet bis:</target> <target>Zuletzt gesendet bis:</target>
</trans-unit> </trans-unit>
<trans-unit id="backend.filter.extension" approved="yes">
<source>Extension</source>
<target>Extension</target>
</trans-unit>
<trans-unit id="backend.filter.fields.description" approved="yes"> <trans-unit id="backend.filter.fields.description" approved="yes">
<source>Search fields (all by default):</source> <source>Search fields (all by default):</source>
<target>Suchfelder (standardmäßig alle):</target> <target>Suchfelder (standardmäßig alle):</target>
...@@ -114,8 +122,8 @@ ...@@ -114,8 +122,8 @@
<target>Betreff</target> <target>Betreff</target>
</trans-unit> </trans-unit>
<trans-unit id="backend.filter.template" approved="yes"> <trans-unit id="backend.filter.template" approved="yes">
<source>Template:</source> <source>Template</source>
<target>Template:</target> <target>Template</target>
</trans-unit> </trans-unit>
<trans-unit id="backend.filter.to" approved="yes"> <trans-unit id="backend.filter.to" approved="yes">
<source>Recipient address</source> <source>Recipient address</source>
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
<trans-unit id="backend.button_reset_all"> <trans-unit id="backend.button_reset_all">
<source>Reset template</source> <source>Reset template</source>
</trans-unit> </trans-unit>
<trans-unit id="backend.button_reset_filter">
<source>Reset</source>
</trans-unit>
<trans-unit id="backend.cc"> <trans-unit id="backend.cc">
<source>CC (Carbon Copy Receiver, comma separated)</source> <source>CC (Carbon Copy Receiver, comma separated)</source>
</trans-unit> </trans-unit>
...@@ -60,6 +63,9 @@ ...@@ -60,6 +63,9 @@
<trans-unit id="backend.filter.date_to"> <trans-unit id="backend.filter.date_to">
<source>Last sent until:</source> <source>Last sent until:</source>
</trans-unit> </trans-unit>
<trans-unit id="backend.filter.extension">
<source>Extension</source>
</trans-unit>
<trans-unit id="backend.filter.fields.description"> <trans-unit id="backend.filter.fields.description">
<source>Search fields (all by default):</source> <source>Search fields (all by default):</source>
</trans-unit> </trans-unit>
...@@ -88,7 +94,7 @@ ...@@ -88,7 +94,7 @@
<source>Subject</source> <source>Subject</source>
</trans-unit> </trans-unit>
<trans-unit id="backend.filter.template"> <trans-unit id="backend.filter.template">
<source>Template:</source> <source>Template</source>
</trans-unit> </trans-unit>
<trans-unit id="backend.filter.to"> <trans-unit id="backend.filter.to">
<source>Recipient address</source> <source>Recipient address</source>
......
...@@ -18,19 +18,19 @@ ...@@ -18,19 +18,19 @@
<f:then> <f:then>
<sgm:be.menus.actionMenuOptionGroup label="{extensionKey}"> <sgm:be.menus.actionMenuOptionGroup label="{extensionKey}">
<f:for each="{extension}" as="template"> <f:for each="{extension}" as="template">
<sgm:extendedIf condition="{selectedTemplateFilter} == {template}" <sgm:extendedIf condition="{selectedTemplateFilter} == {template}"
and="{selectedExtensionFilter} == {extensionKey}"> and="{selectedExtensionFilter} == {extensionKey}">
<f:then> <f:then>
<option value="{extensionKey}###{template}" selected="selected"> <option value="{extensionKey}###{template}" selected="selected">
{template} {template}
</option> </option>
</f:then> </f:then>
<f:else> <f:else>
<option value="{extensionKey}###{template}"> <option value="{extensionKey}###{template}">
{template} {template}
</option> </option>
</f:else> </f:else>
</sgm:extendedIf> </sgm:extendedIf>
</f:for> </f:for>
</sgm:be.menus.actionMenuOptionGroup> </sgm:be.menus.actionMenuOptionGroup>
</f:then> </f:then>
...@@ -112,9 +112,18 @@ ...@@ -112,9 +112,18 @@
<f:translate key="backend.not_sent" /> <f:translate key="backend.not_sent" />
</label> </label>
</div> </div>
<div class="form-group"> <div class="form-group row">
<f:form.button class="btn btn-success form-group col-xs-12 col-md-12" type="submit"> <div class="col-md-6">
<f:translate key="backend.filter.filter" /></f:form.button> <f:form.button class="btn btn-success form-group col-xs-12 col-md-12" type="submit">
<f:translate key="backend.filter.filter" />
</f:form.button>
</div>
<div class="col-md-6">
<f:form.button class="btn btn-danger form-group col-xs-12 col-md-12" type="reset">
<f:translate key="backend.button_reset_filter" />
</f:form.button>
</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
<tr> <tr>
<th></th> <th></th>
<th><f:translate key="backend.from" /> <br> <f:translate key="backend.to" /></th> <th><f:translate key="backend.from" /> <br> <f:translate key="backend.to" /></th>
<th><f:translate key="backend.subject" /></th> <th><f:translate key="backend.filter.extension" />:
<f:translate key="backend.filter.template" /> <br>
<f:translate key="backend.subject" /></th>
<th><f:translate key="backend.entry_date" /> <br> <th><f:translate key="backend.entry_date" /> <br>
<f:translate key="backend.last_sent" /></th> <f:translate key="backend.last_sent" /></th>
<th></th> <th></th>
...@@ -33,7 +35,7 @@ ...@@ -33,7 +35,7 @@
<tr data-uid="{mail.uid}"> <tr data-uid="{mail.uid}">
</f:then> </f:then>
<f:else> <f:else>
<tr data-uid="{mail.uid}" style="background-color: #C8C8C8;"> <tr data-uid="{mail.uid}" style="background-color: #7C7C7C;">
</f:else> </f:else>
</f:if> </f:if>
<td nowrap="nowrap" class="col-icon"> <td nowrap="nowrap" class="col-icon">
...@@ -43,17 +45,32 @@ ...@@ -43,17 +45,32 @@
</td> </td>
<td> <td>
<span>{mail.from_address}</span> <span>{mail.from_address}</span>
<br> <hr>
<span>{mail.to_address}</span> <span>{mail.to_address}</span>
</td> </td>
<td> <td>
<span><f:format.crop maxCharacters="40" append="...">{mail.mail_subject}</f:format.crop></span> <span>{mail.extension_key}: {mail.template_name}</span>
<hr>
<f:if condition="{mail.mail_subject}">
<f:then>
<span><f:format.crop maxCharacters="40" append="...">{mail.mail_subject}</f:format.crop></span>
</f:then>
<f:else>
&nbsp;
</f:else>
</f:if>
</td> </td>
<td> <td>
<span><f:format.date format="d.m.Y h:i">{mail.crdate}</f:format.date></span> <span><f:format.date format="d.m.Y h:i">{mail.crdate}</f:format.date></span>
<br> <hr>
<f:if condition="{mail.last_sending_time} != 0"> <f:if condition="{mail.last_sending_time} != 0">
<span><f:format.date format="d.m.Y h:i">{mail.last_sending_time}</f:format.date></span> <f:then>
<span><f:format.date format="d.m.Y h:i">{mail.last_sending_time}</f:format.date></span>
</f:then>
<f:else>
<f:translate key="backend.not_sent" />
</f:else>
</f:if> </f:if>
</td> </td>
<td nowrap="nowrap" class="col-control"> <td nowrap="nowrap" class="col-control">
......
...@@ -64,4 +64,9 @@ ...@@ -64,4 +64,9 @@
.template-col:nth-of-type(odd) { .template-col:nth-of-type(odd) {
/*background-color: #AAA;*/ /*background-color: #AAA;*/
/*background-clip: content-box;*/ /*background-clip: content-box;*/
}
hr {
margin: 5px 0;
border-top: 1px solid #CCC;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment