Commit 288e3d00 authored by mabolek's avatar mabolek

[TASK] Using karma source and issuer action in list

parent 0e1a97e0
......@@ -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' => [
......
......@@ -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
}
}
}
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment