Commit bc4b9040 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1775722: remove obsolete code in page custom layout

remove #basiclayouthelp & #customlayouthelp reference

help icons are not used anymore, not even  before
unifying the Edit content/Edit layout/Choose skin screens.

remove #createcustomlayouttitle reference

it was used to hide/show the custom layout section
custom layout is not in a collapsible anymore

behatnotneeded

Change-Id: I588ce277370f8e3734b2a43fbc3e5b77c8eae1fb
parent 09f8cbb4
......@@ -212,21 +212,6 @@ function init(pieformname) {
});
link_thumbs_to_radio_buttons(pieformname);
$('#basiclayouthelp').on("click", function(event) {
contextualHelp("viewlayout","layoutselect","core","view","","",this);
return false;
});
$('#customlayouthelp').on("click", function(event) {
contextualHelp("viewlayout","createcustomlayouttitle","core","view","","",this);
return false;
});
$('#togglecustomlayoutoptions').hide();
$('#createcustomlayouttitle').on("click", function(event) {
$('#' + pieformname + '_createcustomlayout_container').toggleClass("collapsed");
$('#togglecustomlayoutoptions').toggle();
});
}
function link_thumbs_to_radio_buttons(pieformname) {
......
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Create a custom layout</h3>
<p>You can add a new custom page layout made up of multiple rows with your own choice of column arrangements.</p>
<p>Click the button "Add row" to add a new row, and use the drop-down boxes to choose a column arrangement for that row.
The thumbnail image gives you a preview of your new layout.</p>
<p>Once you are happy with your design, click the "Create new layout" button to add the new layout.
Your custom layout will be created and selected. Click the "Save" button at the bottom of the page to save your choice of layout for this page.</p>
<p>Your new layout will be available to you in the future under "Advanced options" when you are editing your page layout.</p>
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Select layout</h3>
<p>The thumbnails show the rows and columns which make up each available page layout.</p>
<p>Rest your mouse over each thumbnail to see the percentage-based widths of the columns in each row.
Click on a thumbnail to select that layout.</p>
<p>For more layout options, see "Advanced options".</p>
Markdown is supported
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