Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
040bca2b
Commit
040bca2b
authored
Dec 22, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make URLs in whiteboard clickable
Issue #159 Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
6ea2c0aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
weblate/trans/templatetags/translations.py
weblate/trans/templatetags/translations.py
+4
-2
No files found.
weblate/trans/templatetags/translations.py
View file @
040bca2b
...
...
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
django.utils.html
import
escape
from
django.utils.html
import
escape
,
urlize
from
django.contrib.admin.templatetags.admin_static
import
static
from
django.template.loader
import
render_to_string
from
django.utils.safestring
import
mark_safe
...
...
@@ -564,7 +564,9 @@ def whiteboard_messages(project=None, subproject=None, language=None):
'message.html'
,
{
'tags'
:
'info whiteboard'
,
'message'
:
whiteboard
.
message
'message'
:
mark_safe
(
urlize
(
whiteboard
.
message
,
autoescape
=
True
)
)
}
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment