Commit c54107c6 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Return to group views after editing group view layout

parent 848aef31
......@@ -63,7 +63,10 @@
<input class="submit" type="submit" value="{str tag='next'}">
<form action="{$WWWROOT}view/" method="GET">
<form action="{$WWWROOT}view/{if $groupid}groupviews.php{/if}" method="GET">
{if $groupid}
<input type="hidden" name="group" value="{$groupid}">
<input class="submit" type="submit" value="{str tag='done'}">
......@@ -114,6 +114,7 @@ $smarty->assign('formurl', get_config('wwwroot') . 'view/blocks.php');
$smarty->assign('category', $category);
$smarty->assign('new', $new);
$smarty->assign('view', $view->get('id'));
$smarty->assign('groupid', $view->get('group'));
$smarty->assign('can_change_layout', (!$USER->get_account_preference('addremovecolumns') || ($view->get('numcolumns') > 1 && $view->get('numcolumns') < 5)));
Supports Markdown
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