Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_survey now uses blocks instead of its own 'survey' data structure…
…. Added pluggable blocks to the mod_admin. Added z_html:escape/2 for easy z_trans selection in combination with escape. Fixed issue in z_validation when the name was a binary.
- Loading branch information
Showing
77 changed files
with
1,565 additions
and
1,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{% for blk in m.rsc[id].blocks %} | ||
{% if blk.type == 'header' %} | ||
<h2 class="block-header" {% if blk.name %}id="{{ blk.name }}"{% endif %}>{{ blk.header }}</h2> | ||
{% elseif blk.body %} | ||
<div class="block-text">{{ blk.body|show_media }}</div> | ||
{% endif %} | ||
{% include ["blocks/_block_view_",blk.type,".tpl"]|join blk=blk id=id %} | ||
{% endfor %} |
1 change: 1 addition & 0 deletions
1
modules/mod_base_site/templates/text/blocks/_block_view_header.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h2 class="block-header" {% if blk.name %}id="{{ blk.name }}"{% endif %}>{{ blk.header }}</h2> |
1 change: 1 addition & 0 deletions
1
modules/mod_base_site/templates/text/blocks/_block_view_text.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="block-text">{{ blk.body|show_media }}</div> |
79 changes: 0 additions & 79 deletions
79
modules/mod_survey/actions/action_survey_dialog_survey_question.erl
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
modules/mod_survey/actions/action_survey_dialog_survey_question_delete.erl
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.