From 34be8917cb9126539b581ca6a5c82568da1ef687 Mon Sep 17 00:00:00 2001 From: honam bang Date: Mon, 17 Mar 2014 01:41:19 +0900 Subject: [PATCH] Fixes #546 --- app/templates/play/level/modal/docs.jade | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/templates/play/level/modal/docs.jade b/app/templates/play/level/modal/docs.jade index ed0ecbabf..b40433c4a 100644 --- a/app/templates/play/level/modal/docs.jade +++ b/app/templates/play/level/modal/docs.jade @@ -1,9 +1,10 @@ -// TODO: refactor to be like other modals -.modal-dialog - .modal-header - button(type='button', data-dismiss="modal", aria-hidden="true").close × - h3(data-i18n="play_level.guide_title") Guide - +extends /templates/modal/modal_base + +block modal-header + button(type='button', data-dismiss="modal", aria-hidden="true").close × + h3(data-i18n="play_level.guide_title") Guide + +block modal-body .modal-body ul.nav.nav-tabs for doc in docs @@ -12,6 +13,9 @@ div.tab-content for doc in docs div.tab-pane(id="docs_tab_#{doc.slug}")!= doc.html + +block modal-footer + a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="modal.close").btn.btn-primary Close - .modal-footer - a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="modal.close").btn.btn-primary Close + +