Internationalize a Thingy template
Add a link from the manage screen back to the default view.
This commit is contained in:
parent
2b3b3fd458
commit
27d7a73e53
5 changed files with 15 additions and 2 deletions
|
|
@ -13,6 +13,7 @@
|
|||
- fixed #9157: another typ-o in i18n
|
||||
- fixed #9112: Thingy View Thing screen doesn't preserve newlines
|
||||
- fixed #9155: purpose of "headblock" duplicates "extra head tags"
|
||||
- fixed: Improve Thingy navigation.
|
||||
|
||||
7.6.4
|
||||
- Survey now will show progress and time limit.
|
||||
|
|
|
|||
BIN
docs/upgrades/packages-7.6.5/templates_thingy-default.wgpkg
Normal file
BIN
docs/upgrades/packages-7.6.5/templates_thingy-default.wgpkg
Normal file
Binary file not shown.
|
|
@ -2805,9 +2805,10 @@ sub www_manage {
|
|||
my $var = $self->get;
|
||||
my $url = $self->getUrl;
|
||||
|
||||
$var->{canEditThings} = $self->canEdit;
|
||||
$var->{canEditThings} = $self->canEdit;
|
||||
$var->{"addThing_url"} = $session->url->append($url, 'func=editThing;thingId=new');
|
||||
$var->{"manage_url"} = $session->url->append($url, 'func=manage');
|
||||
$var->{"manage_url"} = $session->url->append($url, 'func=manage');
|
||||
$var->{"view_url"} = $session->url->page;
|
||||
|
||||
#Get things in this Thingy
|
||||
$things = $self->getThings;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ our $HELP = {
|
|||
},
|
||||
],
|
||||
variables => [
|
||||
{ 'name' => 'view_url' },
|
||||
{ 'name' => 'things_loop',
|
||||
'variables' => [
|
||||
{ 'name' => 'thing_editIcon' },
|
||||
|
|
|
|||
|
|
@ -1002,6 +1002,16 @@ search has been done.|,
|
|||
message => q|Error: You must assign fields to your new Thing.|,
|
||||
lastUpdated => 1219424285,
|
||||
},
|
||||
|
||||
'back to thingy default view' => {
|
||||
message => q|Back to Thingy default view|,
|
||||
lastUpdated => 1227736916,
|
||||
},
|
||||
|
||||
'view_url' => {
|
||||
message => q|The URL that will take the user back to the Thingy default view.|,
|
||||
lastUpdated => 1227737813,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue