We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found the probrem of watcher. So I made this patch.
--- redmine_knowledgebase-master/app/views/articles/show.html.erb 2017-11-19 22:57:32.000000000 +0900 +++ redmine_knowledgebase/app/views/articles/show.html.erb 2018-01-11 16:13:19.261609100 +0900 @@ -18,8 +18,9 @@ <% end %> <li><%= link_to_if_authorized l(:label_new_comment), { :controller => "articles", :action => "comment", :article_id => @article.id, :project_id => @project}, :class => "icon icon-comment", :remote => true, :method => :get %> </li> + <li> <%= watcher_link(@article, User.current) %></li> <li> - <%= render :partial => 'watchers/watchers', :locals => {:watched => @article} %> + <%= render :partial => 'articles/watchers', :locals => {:watched => @article} %> </li> </ul> <br /> diff -uprN redmine_knowledgebase-master/app/views/categories/show.html.erb redmine_knowledgebase/app/views/categories/sh ow.html.erb --- redmine_knowledgebase-master/app/views/categories/show.html.erb 2017-11-19 22:57:32.000000000 +0900 +++ redmine_knowledgebase/app/views/categories/show.html.erb 2018-01-11 16:13:19.385997800 +0900 @@ -20,7 +20,8 @@ <li><%= link_to_if_authorized l(:label_new_category), { :controller => 'categories', :action => 'new', :parent_id = > @category.id, :project_id => @project}, :class => 'icon icon-add' %></li> <li><%= link_to_if_authorized l(:label_edit_category), { :controller => 'categories', :action => 'edit', :id => @ca tegory.id, :project_id => @project}, :class => 'icon icon-edit' %></li> <li><%= link_to_if_authorized l(:label_delete_category), { :controller => 'categories', :action => 'destroy', :id = > @category.id, :project_id => @project}, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-de l' %></li> <li> - <%= render :partial => 'watchers/watchers', :locals => {:watched => @category} %> + <li><%= watcher_link(@category, User.current) %></li> + <%= render :partial => 'categories/watchers', :locals => {:watched => @category} %> </li> </ul> <h3><%= l(:title_browse_by_category) %></h3>
The text was updated successfully, but these errors were encountered:
Good catch! But I need either a non-adulterated patch file that I can apply or a pull request.
Thanks!
Sorry, something went wrong.
@crosspoints are you able to resubmit this as a PR?
robspearman
No branches or pull requests
I found the probrem of watcher. So I made this patch.
The text was updated successfully, but these errors were encountered: