For lib/*.pm, template variable breakout.
Collaboration template labels need to be rethought fix t/i18n/label.t to not always check on the name of a variable as an i18n entry, since the description may hold the actual variable description.
This commit is contained in:
parent
00293b3388
commit
4c39c6759b
9 changed files with 1973 additions and 1108 deletions
|
|
@ -67,6 +67,52 @@ our $HELP = {
|
|||
body => '74',
|
||||
fields => [
|
||||
],
|
||||
variables => [
|
||||
{
|
||||
'name' => 'canVote'
|
||||
},
|
||||
{
|
||||
'name' => 'question'
|
||||
},
|
||||
{
|
||||
'name' => 'form.start'
|
||||
},
|
||||
{
|
||||
'name' => 'answer_loop',
|
||||
'variables' => [
|
||||
{
|
||||
'name' => 'answer.form'
|
||||
},
|
||||
{
|
||||
'name' => 'answer.text'
|
||||
},
|
||||
{
|
||||
'name' => 'answer.number'
|
||||
},
|
||||
{
|
||||
'name' => 'answer.graphWidth'
|
||||
},
|
||||
{
|
||||
'name' => 'answer.percent'
|
||||
},
|
||||
{
|
||||
'name' => 'answer.total'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
'name' => 'form.submit'
|
||||
},
|
||||
{
|
||||
'name' => 'form.end'
|
||||
},
|
||||
{
|
||||
'name' => 'responses.label'
|
||||
},
|
||||
{
|
||||
'name' => 'responses.total'
|
||||
}
|
||||
],
|
||||
related => [
|
||||
{
|
||||
tag => 'poll add/edit',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue