Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #880 from kawazrepos/879
Browse files Browse the repository at this point in the history
HipChat連携でMarkdownが展開されないのを修正した closes #879
  • Loading branch information
giginet committed Apr 14, 2015
2 parents 527f04f + 4b6df76 commit 2b9cd0f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong>{{ object.author.nickname }}さんが「<a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.title }}</a>」を書きました</strong>
<pre>{{ object.body | truncatechars_html:150 }}</pre>
<pre>{{ object.body | kfm | striptags | truncatechars_html:150 }}</pre>
2 changes: 1 addition & 1 deletion src/templates/activities/blogs/entry_created.hipchat.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong>{{ object.author.nickname }}さんが「<a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.title }}</a>」を書きました</strong>
<pre>{{ object.body | truncatechars_html:150 }}</pre>
<pre>{{ object.body | kfm | striptags | truncatechars_html:150 }}</pre>
4 changes: 1 addition & 3 deletions src/templates/activities/comment_added.hipchat.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<strong>{{ comment.user.nickname }}さんが「{{ comment.content_object }}」にコメントしました <a href="http://{{ site.domain }}{{ comment.get_absolute_url }}">http://{{ site.domain }}{{ comment.get_absolute_url }}</a></strong>
<pre>
{{ comment.comment }}
</pre>
<pre>{{ comment.comment | kfm | striptags | truncatechars_html:150 }}</pre>
2 changes: 1 addition & 1 deletion src/templates/activities/events/event_created.hipchat.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong>{{ object.organizer.nickname }}さんが「<a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.title }}</a>」を企画しました</strong>
<pre>{{ object.body | truncatechars_html:150 }}</pre>
<pre>{{ object.body | kfm | striptags | truncatechars_html:150 }}</pre>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong><a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.nickname }}</a>さんが入会しました</strong>
<pre>{{ object.body | truncatechars_html:150 }}</pre>
<pre>{{ object.body | kfm | striptags | truncatechars_html:150 }}</pre>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong><a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.title }}</a>」が公開されました</strong>
<pre>{{ object.description | truncatechars_html:150 }}</pre>
<pre>{{ object.description | kfm | striptags | truncatechars_html:150 }}</pre>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong>{{ object.last_modifier.nickname }}さんが「{{ release.product.title }}」に「<a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ release.label }}</a>」を追加しました</strong>
<pre>{{ object.description | truncatechars_html:150 }}</pre>
<pre>{{ object.description | kfm | striptags | truncatechars_html:150 }}</pre>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong>{{ object.last_modifier.nickname }}さんが「<a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.title }}</a>」にスクリーンショットを追加しました</strong>
<pre>{{ object.description | truncatechars_html:150 }}</pre>
<pre>{{ object.description | kfm | striptags | truncatechars_html:150 }}</pre>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<strong>{{ object.administrator.nickname }}さんが「<a href="http://{{ site.domain }}{{ object.get_absolute_url }}">{{ object.title }}</a>」を発足しました</strong>
<pre>{{ object.body | truncatechars_html:150 }}</pre>
<pre>{{ object.body | kfm | striptags | truncatechars_html:150 }}</pre>

0 comments on commit 2b9cd0f

Please sign in to comment.