Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
Archive
t3o
my.typo3.org
Commits
349a8134
Commit
349a8134
authored
Feb 11, 2019
by
mabolek
Committed by
Sebastian Kotte
Feb 12, 2019
Browse files
[TASK] Using karma source and issuer action in list
parent
57cd237a
Changes
4
Hide whitespace changes
Inline
Side-by-side
extensions/karma/Configuration/TCA/tx_karma_domain_model_ledgerentry.php
View file @
349a8134
...
...
@@ -18,7 +18,7 @@ $tx_karma_domain_model_ledgerentry = [
'iconfile'
=>
'EXT:karma/Resources/Public/Icons/tx_karma_domain_model_ledgerentry.svg'
,
],
'interface'
=>
[
'showRecordFieldList'
=>
'pid,hidden,starttime,endtime,expired,immutable_value,mutable_value,karma_source,campaign,user'
'showRecordFieldList'
=>
'pid,hidden,starttime,endtime,expired,immutable_value,mutable_value,karma_source,
issuer,issuer_action,
campaign,user'
],
'columns'
=>
[
'hidden'
=>
[
...
...
extensions/karma/Configuration/TypoScript/setup.txt
View file @
349a8134
...
...
@@ -18,7 +18,7 @@ plugin.tx_karma {
userProfileChange {
newUserWasCreated {
sourceCode = useraction
label = Created
my.typo3.org
User
label = Created User
valueEarned = 10
}
}
...
...
@@ -26,7 +26,7 @@ plugin.tx_karma {
sourceCodes {
useraction {
label =
my.
typo3.org User
Action
label = typo3.org User
}
}
}
...
...
extensions/karma/Resources/Private/Language/locallang_db.xlf
View file @
349a8134
...
...
@@ -28,7 +28,13 @@
<source>
Mutable Value
</source>
</trans-unit>
<trans-unit
id=
"tx_karma_domain_model_ledgerentry.karma_source"
>
<source>
Karma Source
</source>
<source>
Karma Source Code
</source>
</trans-unit>
<trans-unit
id=
"tx_karma_domain_model_ledgerentry.issuer"
>
<source>
Issuer Code/source>
</trans-unit>
<trans-unit
id=
"tx_karma_domain_model_ledgerentry.issuer_action"
>
<source>
Issuer Action Code
</source>
</trans-unit>
<trans-unit
id=
"tx_karma_domain_model_ledgerentry.campaign"
>
<source>
Campaign
</source>
...
...
extensions/karma/Resources/Private/Templates/UserDisplay/List.html
View file @
349a8134
...
...
@@ -12,7 +12,9 @@
<f:for
each=
"{entries}"
as=
"entry"
>
<tr
id=
"entry-{entry.uid}"
>
<td>
{entry.crdate -> f:format.date(format:'j F, Y')}
</td>
<td>
{entry.karmaSource} {entry.issuer} {entry.issuerAction}
</td>
<td>
{settings.sourceCodes.{entry.karmaSource}.label}:
{settings.issuers.{entry.issuer}.{entry.issuerAction}.label}
</td>
<td>
{entry.immutableValue}
</td>
<td>
{entry.mutableValue}
</td>
</tr>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment