Skip to content

Commit

Permalink
Removing final |raw from codebase
Browse files Browse the repository at this point in the history
 Refs #4019
  • Loading branch information
mattab committed Jun 24, 2013
1 parent c263308 commit 0ddd15a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Expand Up @@ -55,7 +55,7 @@
{% if rowMetadata.url is defined %}
<a style="color: rgb({{ reportTextColor }});" href='{% if rowMetadata.url|slice(0,4) not in ['http','ftp:'] %}http://{% endif %}{{ rowMetadata.url }}'>
{% endif %}
{{ rowMetrics[columnId] | raw }}{# labels are escaped by SafeDecodeLabel filter in core/API/Response.php #}
{{ rowMetrics[columnId] }}{# labels are escaped by SafeDecodeLabel filter in core/API/Response.php #}
{% if rowMetadata.url is defined %}
</a>
{% endif %}
Expand Down
@@ -1,7 +1,7 @@
<div class="rowevolution multirowevolution">
<div class="popover-title">{{ 'RowEvolution_MultiRowEvolutionTitle'|translate }}</div>
<div class="graph">
{{ graph | raw }}
{{ graph }}
</div>
<div class="metrics-container">
<h2>{{ availableRecordsText|translate }}</h2>
Expand Down
4 changes: 2 additions & 2 deletions plugins/CoreHome/templates/getRowEvolutionPopover.twig
@@ -1,5 +1,5 @@
<div class="rowevolution">
<div class="popover-title">{{ popoverTitle | raw }}</div>
<div class="popover-title">{{ popoverTitle }}</div>
<div class="graph">
{{ graph }}
</div>
Expand All @@ -13,7 +13,7 @@
{% for metric in metrics %}
<tr>
<td class="sparkline">
{{ metric.sparkline | raw }}
{{ metric.sparkline }}
</td>
<td class="text">
<span style="color:{{ metric.color }}">{{ metric.label }}</span>
Expand Down
2 changes: 1 addition & 1 deletion plugins/Goals/templates/getGoalReportView.twig
@@ -1,5 +1,5 @@
<link rel="stylesheet" type="text/css" href="plugins/Goals/stylesheets/goals.css"/>
{% include "@Goals/_titleAndEvolutionGraph.twig" | raw %}
{% include "@Goals/_titleAndEvolutionGraph.twig" %}

<div class="clear"></div>

Expand Down
2 changes: 1 addition & 1 deletion plugins/Live/templates/getSimpleLastVisitCount.twig
Expand Up @@ -120,6 +120,6 @@
<span class="simple-realtime-metric" data-metric="minutes">{% if lastMinutes == 1 %}{{ 'General_OneMinute'|translate }}{% else %}{{ 'General_NMinutes'|translate(lastMinutes) }}{% endif %}</span>
{% endset %}

{{ 'Live_SimpleRealTimeWidget_Message'|translate(visitsMessage,actionsMessage,minutesMessage) | raw }}
{{ 'Live_SimpleRealTimeWidget_Message'|translate(visitsMessage,actionsMessage,minutesMessage) }}
</div>
</div>

0 comments on commit 0ddd15a

Please sign in to comment.