Add description of actions
This commit is contained in:
parent
53110d7dfc
commit
721fd444f7
@ -20,9 +20,11 @@ $Definition['Yaga.Action.Move'] = 'Move the %s reactions?';
|
||||
$Definition['Yaga.ActionAdded'] = 'Action added successfully!';
|
||||
$Definition['Yaga.ActionUpdated'] = 'Action updated successfully!';
|
||||
$Definition['Yaga.Actions.Current'] = 'Current Reactions';
|
||||
$Definition['Yaga.Actions.Settings.Desc'] = 'Add or edit the available actions that can be used as reactions.';
|
||||
$Definition['Yaga.Actions.Desc'] = "Actions are shown underneath user generated content such as discussions, comments, and activity items. Other users can select one as a 'reaction'. The owner of the original item will receive points based on the reactions of others. This forms a positive feedback loop for both positive <em>and</em> negative actions.";
|
||||
$Definition['Yaga.Actions.Settings.Desc'] = 'You can manage the available actions that can be used as reactions here. Drag items to sort their display order.';
|
||||
$Definition['Yaga.AddAction'] = 'Add Action';
|
||||
$Definition['Yaga.EditAction'] = 'Edit Action';
|
||||
$Definition['Yaga.Action.PermDesc'] = "A user will need the following permission to use this action. The default is 'Yaga.Reactions.Add'.";
|
||||
$Definition['Yaga.InvalidAction'] = 'Invalid Action';
|
||||
$Definition['Yaga.InvalidID'] = 'Invalid ID';
|
||||
$Definition['Yaga.InvalidReactType'] = 'Invalid React Target';
|
||||
|
@ -60,7 +60,8 @@ echo $this->Form->Errors();
|
||||
</div>
|
||||
<div>
|
||||
<?php
|
||||
echo $this->Form->Label('Elevated Permission', 'Permission');
|
||||
echo $this->Form->Label('Permission', 'Permission');
|
||||
echo Wrap(T('Yaga.Action.PermDesc'), 'p');
|
||||
echo $this->Form->Dropdown('Permission', $this->Data('Permissions'));
|
||||
?>
|
||||
</div>
|
||||
|
@ -2,6 +2,7 @@
|
||||
/* Copyright 2013 Zachary Doll */
|
||||
|
||||
echo Wrap($this->Title(), 'h1');
|
||||
echo Wrap(Wrap(T('Yaga.Actions.Desc'), 'div'), 'div', array('class' => 'Wrap'));
|
||||
echo Wrap(Wrap(T('Yaga.Actions.Settings.Desc'), 'div'), 'div', array('class' => 'Wrap'));
|
||||
echo Wrap(Anchor(T('Yaga.AddAction'), 'action/add', array('class' => 'Popup SmallButton')), 'div', array('class' => 'Wrap'));
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user