Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3655 from robhudson/842340-fix
Browse files Browse the repository at this point in the history
Bug 842340 - Fix template parse error for some document titles
  • Loading branch information
groovecoder committed Nov 17, 2015
2 parents 75a9a67 + 985d037 commit 2718ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kuma/wiki/templates/wiki/includes/document_macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ <h3>
{% macro watch_tree_item(document, user) -%}
{% set title = document.title %}
<li class="page-watch">
{% set subscribe_tree_text = _('Subscribe to {title} and all its sub-articles'|f(title=title)|escape) %}
{% set unsubscribe_tree_text = _('Unsubscribe from {title} and all its sub-articles'|f(title=title)|escape) %}
{% set subscribe_tree_text = _('Subscribe to {title} and all its sub-articles')|f(title=title)|escape %}
{% set unsubscribe_tree_text = _('Unsubscribe from {title} and all its sub-articles')|f(title=title)|escape %}
<form action="{{ url('wiki.subscribe_to_tree', document.slug, locale=document.locale) }}" method="post">
{{ csrf() }}
<a href="#" data-subscribe-status="{{ subscribe_status }}" data-subscribe-text="{{ subscribe_tree_text }}" data-unsubscribe-text="{{ unsubscribe_tree_text }}" data-subscribe-message="{{ _('You are now subscribed to this article and all its sub-articles.') }}" data-unsubscribe-message="{{ _('You have been unsubscribed from this article and all its sub-articles.') }}">
Expand Down

0 comments on commit 2718ec3

Please sign in to comment.