Skip to content

Commit

Permalink
Merge pull request #176 from CodeForPhilly/development
Browse files Browse the repository at this point in the history
Release: laddr v2.3.9
  • Loading branch information
themightychris authored Aug 9, 2017
2 parents 1952c83 + e8db6d8 commit 5c72b3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
37 changes: 3 additions & 34 deletions html-templates/content/contentEdit.tpl
Original file line number Diff line number Diff line change
@@ -1,42 +1,11 @@
{extends designs/site.tpl}
{extends app/EmergenceContentEditor/ext.tpl}

{block "css"}
{cssmin fonts/font-awesome.css}
<link rel="stylesheet" type="text/css" href="{Sencha_App::getByName('ContentEditor')->getVersionedPath('build/production/resources/ContentEditor-all.css')}" />

{$dwoo.parent}

{cssmin "pages/article.css"}
{/block}

{block js-bottom}
<script type="text/javascript">
var SiteEnvironment = SiteEnvironment || { };
SiteEnvironment.user = {JSON::translateObjects($.User)|json_encode};
SiteEnvironment.cmsContent = {tif $data ? JSON::translateObjects($data, false, 'tags,items,Author,Context.recordURL,Context.recordTitle')|json_encode : 'null'};
SiteEnvironment.cmsComposers = ['markdown', 'multimedia', 'embed'];
SiteEnvironment.mediaSupportedTypes = {Media::getSupportedTypes()|json_encode};
</script>

{include includes/site.ext-bootstrap.tpl}

{if $.get.jsdebug}
{sencha_bootstrap
patchLoader=false
packages=array('emr-skeleton-theme')
packageRequirers=array('sencha-workspace/pages/src/page/ContentEditor.js')
}
{else}
<script src="{Site::getVersionedRootUrl('js/pages/ContentEditor.js')}"></script>
{/if}

{jsmin "markdown.js"}

<script>
Ext.require('Site.page.ContentEditor');
</script>
{/block}

{block content}
<div id='contentEditorCt'>Loading content editor&hellip;</div>
{$cmsComposers = array('markdown', 'multimedia', 'embed')}
{$dwoo.parent}
{/block}
1 change: 1 addition & 0 deletions site-root/projects.csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
,'description' => trim($matches[0])
,'link_url' => $Project->UsersUrl
,'code_url' => $Project->DevelopersUrl
,'chat_channel' => $Project->ChatChannel
,'tags' => implode(',',
array_map(
function($Tag) {
Expand Down

0 comments on commit 5c72b3d

Please sign in to comment.