Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
my.typo3.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
t3o
my.typo3.org
Commits
288e3d00
Commit
288e3d00
authored
Feb 11, 2019
by
mabolek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TASK] Using karma source and issuer action in list
parent
0e1a97e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
extensions/karma/Configuration/TCA/tx_karma_domain_model_ledgerentry.php
...a/Configuration/TCA/tx_karma_domain_model_ledgerentry.php
+1
-1
extensions/karma/Configuration/TypoScript/setup.txt
extensions/karma/Configuration/TypoScript/setup.txt
+2
-2
extensions/karma/Resources/Private/Language/locallang_db.xlf
extensions/karma/Resources/Private/Language/locallang_db.xlf
+7
-1
extensions/karma/Resources/Private/Templates/UserDisplay/List.html
...s/karma/Resources/Private/Templates/UserDisplay/List.html
+3
-1
No files found.
extensions/karma/Configuration/TCA/tx_karma_domain_model_ledgerentry.php
View file @
288e3d00
...
...
@@ -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 @
288e3d00
...
...
@@ -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 @
288e3d00
...
...
@@ -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 @
288e3d00
...
...
@@ -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
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