[Git][noosfero/noosfero][master] 2 commits: Change the local comment variable to article
Rodrigo Souto
gitlab at mg.gitlab.com
Thu Jan 25 16:09:19 BRST 2018
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
5a699d80 by mendesiasmin at 2018-01-18T10:49:57-02:00
Change the local comment variable to article
- - - - -
d29855c7 by Rodrigo Souto at 2018-01-25T18:09:06+00:00
Merge branch 'comment-report' into 'master'
Fix comment report
See merge request noosfero/noosfero!1377
- - - - -
1 changed file:
- app/views/shared/reported_versions/profile/_comment.html.erb
Changes:
=====================================
app/views/shared/reported_versions/profile/_comment.html.erb
=====================================
--- a/app/views/shared/reported_versions/profile/_comment.html.erb
+++ b/app/views/shared/reported_versions/profile/_comment.html.erb
@@ -1,10 +1,10 @@
<ul>
- <li><%= (content_tag('strong', _('Title') + ': ') + comment.title) if comment.title %> </li>
+ <li><%= (content_tag('strong', _('Title') + ': ') + article.title) if article.title %> </li>
<li><%= content_tag('strong', _('Type') + ': ') + _('Comment') %> </li>
<li>
- <%= (content_tag('strong', _('Original content') + ': ') + link_to(comment.title || url_for(comment.url), comment.url)) %> <br />
+ <%= (content_tag('strong', _('Original content') + ': ') + link_to(article.title || url_for(article.url), article.url)) %> <br />
<%= content_tag('small', _('This link might be unavailable if the content is removed')) %>
</li>
</ul>
-<p><%= article_to_html(comment) %></p>
+<p>"<%= article.body %>"</p>
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/50948ae953cdc706569428e8d9ca6d496de48a40...d29855c7a12ed57415fbc529900fd9972ae838ad
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/50948ae953cdc706569428e8d9ca6d496de48a40...d29855c7a12ed57415fbc529900fd9972ae838ad
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180125/597d6dbc/attachment-0001.html>
More information about the Noosfero-dev
mailing list