Bug 20654

Summary: Omnibus: Update two-column templates to use Bootstrap grid
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec, testopia
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23259
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 20667, 20668, 20672, 20736, 20738, 20739, 20740, 20741, 20742, 20743, 21304, 21305, 21306, 21307, 21428, 21429, 21430, 21433, 21434, 21435, 21436, 21437, 21438, 21439, 21442, 21449, 21519, 21523, 21569, 21570, 21645, 21646, 21647, 21672, 21693, 21695, 21792, 21795, 21797, 21913, 21948, 21963, 21964, 21965, 21967, 22104, 22751, 22764, 22897, 22999    
Bug Blocks: 14546    

Description Owen Leonard 2018-04-24 16:42:17 UTC
This omnibus bug will cover bugs which update two-column template grid markup from YUI to Bootstrap.

Typical markup to be replaced:

<div id="doc3" class="yui-t2">
    <div id="bd">
        <div id="yui-main">
            <div class="yui-b">
                <!-- Main body of the page -->
            </div>
        </div>
        <div class="yui-b">
            <!-- Left-hand sidebar -->
        </div>
    </div>
</div>

Replacement:

<div class="main container-fluid">
    <div class="row">
        <div class="col-sm-10 col-sm-push-2">
            <!-- Main body of the page -->
        </div>
        <div class="col-sm-2 col-sm-pull-10">
            <!-- Left-hand sidebar -->
        </div>
    </div>
</div>

Note that "col-sm-push-2" and "col-sm-pull-10" are the classes that reverse the visible column order in the desktop layout.