Commit 03f0f292 authored by mabolek's avatar mabolek
Browse files

[TASK] Changed karma issuance form and added plugin

parent ff23e301
<section class="container" xmlns:f="http://www.w3.org/1999/html">
<h1>Issue Karma to Users</h1>
<f:form action="manualKarmaIssuanceReviewForm" method="post">
<div class="form-group">
<label for="manualKarmaIssuanceReviewForm_usernames">Usernames</label>
<f:form.textarea name="usernames" value="{usernames}" id="manualKarmaIssuanceReviewForm_usernames" class="form-control" rows="10" cols="50" />
<div class="text-muted">Usernames separated by comma or line breaks.</div>
</div>
<div class="form-group">
<label for="manualKarmaIssuanceReviewForm_issuerAction">Select the karma-earning action</label>
<f:form.select name="issuerAction" id="manualKarmaIssuanceReviewForm_issuerAction" options="{issuerActions}" value="{issuerAction}" prependOptionValue="" prependOptionLabel="Please select ..." />
</div>
<div class="form-group">
<label for="manualKarmaIssuanceReviewForm_note">Description</label>
<f:form.textfield name="note" value="{note}" id="manualKarmaIssuanceReviewForm_note" class="form-control" />
<div class="text-muted">Brief information about where the karma was earned. If the users attended a conference, write the name (and year/date, if not included in the name): &quot;T3CON19&quot;</div>
</div>
<div class="form-group">
<label for="manualKarmaIssuanceReviewForm_issuerAction">Select the karma-earning action</label>
<f:form.select name="issuerAction" id="manualKarmaIssuanceReviewForm_issuerAction" options="{issuerActions}" value="{issuerAction}" prependOptionValue="" prependOptionLabel="Please select ..." />
</div>
<div class="form-group">
<f:form.submit value="Review" />
</div>
......
......@@ -10,6 +10,6 @@ defined('TYPO3_MODE') or die('Access denied.');
/*
* FE Plugin
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('T3o.' . $_EXTKEY, 'KarmaControl', 'Karma Manager');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('T3o.' . $_EXTKEY, 'KarmaIssuance', 'Manual Karma Issuance Interface');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('T3o.' . $_EXTKEY, 'UserKarmaList', 'Karma List for Users');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('T3o.' . $_EXTKEY, 'UserKarmaWidget', 'Karma Widget for Users');
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