Skip to content

Commit

Permalink
Removed Markdown support for the summary fields in DataSet, Project, …
Browse files Browse the repository at this point in the history
…and Workflow so that when we view these in the list view, we don't have any weird Markdown syntax.
  • Loading branch information
psm3426 committed May 7, 2014
1 parent e866ca1 commit 180eacc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion refinery/templates/core/data_set.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h3>{{ data_set.name }}</h3>
<div class="refinery-subheader">
<h4>Summary</h4>
</div>
<p>{% if data_set.summary %} {{ data_set.summary|markdown:"safe" }} {% else %} <i>None provided.</i>{% endif %}</p>
<p>{% if data_set.summary %} {{ data_set.summary }} {% else %} <i>None provided.</i>{% endif %}</p>

<div class="refinery-subheader">
<h4>Description</h4>
Expand Down
3 changes: 1 addition & 2 deletions refinery/templates/core/data_set_edit.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load markup %}

{% block title %}
{{ block.super }} - Edit DataSet
Expand All @@ -26,7 +25,7 @@ <h3>{{ data_set.name }}</h3>
</div>

<div class="refinery-subheader">
<h4>Summary (Supports Markdown)</h4>
<h4>Summary</h4>
</div>
{% if form.summary.errors %}
<p class="errors">{{ form.summary.errors.as_text }}</p>
Expand Down
2 changes: 1 addition & 1 deletion refinery/templates/core/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3>{{project.name}}</h3>
<div class="refinery-subheader">
<h4>Summary</h4>
</div>
<p>{% if project.summary %} {{ project.summary|markdown:"safe" }} {% else %} <i>None provided.</i>{% endif %}</p>
<p>{% if project.summary %} {{ project.summary }} {% else %} <i>None provided.</i>{% endif %}</p>

<div class="refinery-subheader">
<h4>Description</h4>
Expand Down
3 changes: 1 addition & 2 deletions refinery/templates/core/project_edit.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load markup %}

{% block title %}
{{ block.super }} - Edit Project
Expand Down Expand Up @@ -28,7 +27,7 @@ <h4>Name</h4>
<p>{{form.name}}</p>

<div class="refinery-subheader">
<h4>Summary (Supports Markdown)</h4>
<h4>Summary</h4>
</div>
{% if form.summary.errors %}
<p class="errors">{{ form.summary.errors.as_text }}</p>
Expand Down
2 changes: 1 addition & 1 deletion refinery/templates/core/workflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h3>{{ workflow.name }}</h3>
<div class="refinery-subheader">
<h4>Summary</h4>
</div>
<p>{% if workflow.summary %} {{ workflow.summary|markdown:"safe" }} {% else %} <i>None provided.</i>{% endif %}</p>
<p>{% if workflow.summary %} {{ workflow.summary }} {% else %} <i>None provided.</i>{% endif %}</p>

<div class="refinery-subheader">
<h4>Description</h4>
Expand Down
3 changes: 1 addition & 2 deletions refinery/templates/core/workflow_edit.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load markup %}

{% block title %}
{{ block.super }} - Edit Workflow
Expand Down Expand Up @@ -28,7 +27,7 @@ <h4>Name</h4>
<p>{{ form.name }}</p>

<div class="refinery-subheader">
<h4>Summary (Supports Markdown)</h4>
<h4>Summary</h4>
</div>
{% if form.summary.errors %}
<p class="errors">{{ form.summary.errors.as_text }}</p>
Expand Down

0 comments on commit 180eacc

Please sign in to comment.