From e0e42ae8aca464ea6802fda5c84bc4feabfe3fe0 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 2 Jul 2012 10:18:24 -0400 Subject: [PATCH] Fix up cms after changing html and sequence descriptors to use metadata --- cms/templates/widgets/html-edit.html | 4 ++-- cms/templates/widgets/navigation.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cms/templates/widgets/html-edit.html b/cms/templates/widgets/html-edit.html index 7eec86215a..666aa1de81 100644 --- a/cms/templates/widgets/html-edit.html +++ b/cms/templates/widgets/html-edit.html @@ -33,8 +33,8 @@ - -
${module.definition['data']['text']}
+ +
${module.definition['data']}
Save & Update diff --git a/cms/templates/widgets/navigation.html b/cms/templates/widgets/navigation.html index bed0d1b4f8..ea158d305a 100644 --- a/cms/templates/widgets/navigation.html +++ b/cms/templates/widgets/navigation.html @@ -40,8 +40,8 @@

${week.name}

    - % if week.goals: - % for goal in week.goals: + % if 'goals' in week.metadata: + % for goal in week.metadata['goals']:
  • ${goal}
  • % endfor % else: