Moves randomise modal template and view to editor/level/modal

This commit is contained in:
Jayant Jain 2014-07-13 23:45:24 +05:30
parent be223197df
commit 1e5edb5efd
3 changed files with 2 additions and 2 deletions
app
templates/editor/level
views/editor/level/modal

View file

@ -80,7 +80,7 @@ block header
li(class=anonymous ? "disabled": "")
a(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert")#revert-button Revert
li(class=anonymous ? "disabled": "")
a(data-toggle="coco-modal", data-target="modal/terrain_randomise", data-i18n="editor.randomize")#randomise-button Randomise
a(data-toggle="coco-modal", data-target="editor/level/modal/terrain_randomise", data-i18n="editor.randomise")#randomise-button Randomise
li(class=anonymous ? "disabled": "")
a(data-i18n="editor.pop_i18n")#pop-level-i18n-button Populate i18n
li.divider

View file

@ -1,5 +1,5 @@
ModalView = require 'views/kinds/ModalView'
template = require 'templates/modal/terrain_randomise'
template = require 'templates/editor/level/modal/terrain_randomise'
CocoModel = require 'models/CocoModel'
clusters = {