diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 307791612..068f5013a 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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. diff --git a/docs/upgrades/packages-7.6.5/templates_thingy-default.wgpkg b/docs/upgrades/packages-7.6.5/templates_thingy-default.wgpkg new file mode 100644 index 000000000..108b1312c Binary files /dev/null and b/docs/upgrades/packages-7.6.5/templates_thingy-default.wgpkg differ diff --git a/lib/WebGUI/Asset/Wobject/Thingy.pm b/lib/WebGUI/Asset/Wobject/Thingy.pm index e1f2aeafe..2b17c3925 100644 --- a/lib/WebGUI/Asset/Wobject/Thingy.pm +++ b/lib/WebGUI/Asset/Wobject/Thingy.pm @@ -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; diff --git a/lib/WebGUI/Help/Asset_Thingy.pm b/lib/WebGUI/Help/Asset_Thingy.pm index f54af9999..9e00e92fa 100644 --- a/lib/WebGUI/Help/Asset_Thingy.pm +++ b/lib/WebGUI/Help/Asset_Thingy.pm @@ -14,6 +14,7 @@ our $HELP = { }, ], variables => [ + { 'name' => 'view_url' }, { 'name' => 'things_loop', 'variables' => [ { 'name' => 'thing_editIcon' }, diff --git a/lib/WebGUI/i18n/English/Asset_Thingy.pm b/lib/WebGUI/i18n/English/Asset_Thingy.pm index 8c34c7df3..d86bd2808 100644 --- a/lib/WebGUI/i18n/English/Asset_Thingy.pm +++ b/lib/WebGUI/i18n/English/Asset_Thingy.pm @@ -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;