Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TYPO3
sg_mail
Commits
d4e72033
Commit
d4e72033
authored
Aug 12, 2020
by
Kevin Ditscheid
Browse files
[BUGFIX] Fix edit links in list view
parent
6fb995a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Resources/Private/Templates/Layout/Index.html
Resources/Private/Templates/Layout/Index.html
+5
-4
Resources/Private/Templates/Queue/Index.html
Resources/Private/Templates/Queue/Index.html
+1
-1
No files found.
Resources/Private/Templates/Layout/Index.html
View file @
d4e72033
{namespace sg=SGalinski\SgMail\ViewHelpers}
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
<f:layout
name=
"Default"
/>
<f:section
name=
"iconButtons"
>
<
a
href=
"#
"
class=
"btn btn-default btn-sm"
title=
"{f:translate(key: 'backend.button_create_layout')}"
onclick=
"{sg:backend.editOnClick(table: 'tx_sgmail_domain_model_layout', uid: pageUid, new: 1)}"
>
<
be:link.newRecord
table=
"tx_sgmail_domain_model_layout"
pid=
"{pageUid}
"
class=
"btn btn-default btn-sm"
title=
"{f:translate(key: 'backend.button_create_layout')}"
>
<core:icon
identifier=
"actions-document-new"
/>
</
a
>
</
be:link.newRecord
>
<f:if
condition=
"{pasteButton}"
>
<a
href=
"{pasteButton.url}"
class=
"btn btn-sm btn-default t3js-modal-trigger"
data-severity=
"warning"
data-content=
"{pasteButton.message}"
...
...
@@ -33,11 +34,11 @@
</f:format.raw>
</td>
<td
nowrap=
"nowrap"
>
<
a
href=
"#"
onclick=
"{sg:backend.editOnClick(
table
: '
tx_sgmail_domain_model_layout
', uid: layout.uid)}
"
>
<
be:link.editRecord
uid=
"{layout.uid}"
table
=
"
tx_sgmail_domain_model_layout"
>
<span>
{layout.name}
</span>
</
a
>
</
be:link.editRecord
>
</td>
<td
nowrap=
"nowrap"
class=
"col-control"
>
<f:format.raw>
...
...
Resources/Private/Templates/Queue/Index.html
View file @
d4e72033
{namespace sgm=SGalinski\SgMail\ViewHelpers}
<f:layout
name=
"Queue"
/>
<f:section
name=
"iconButtons"
>
...
...
@@ -30,7 +31,6 @@
</thead>
<tbody>
<f:for
each=
"{paginatedMails}"
as=
"mail"
>
{sgm:backend.editOnClick(table: 'tx_sgmail_domain_model_mail', uid: mail.uid) -> sgm:set(name: 'editOnClick')}
<tr
data-uid=
"{mail.uid}"
>
<td
nowrap=
"nowrap"
class=
"col-icon"
>
<sgm:backend.icon
table=
"tx_sgmail_domain_model_mail"
row=
"{mail}"
/>
...
...
Write
Preview
Markdown
is supported
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