Revision 1357:bef3c810b1e4
| app/views/issues/_form.html.erb | ||
|---|---|---|
| 43 | 43 |
|
| 44 | 44 |
<%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
|
| 45 | 45 |
<% end %> |
| 46 |
|
|
| 47 |
<% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%> |
|
| 48 |
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label> |
|
| 49 |
<% @issue.project.users.sort.each do |user| -%> |
|
| 50 |
<label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, !!(@issue.watched_by?(user) or user == User.current) %> <%=h user %></label> |
|
| 51 |
<% end -%> |
|
| 52 |
</p> |
|
| 53 |
<% end %> |
|
| 54 |
|
|
| 55 |
<%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
|
|
| 56 |
|
|
| 57 |
<%= wikitoolbar_for 'issue_description' %> |
|
| plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb | ||
|---|---|---|
| 18 | 18 |
<%= link_to(l("more_details_link"), {:controller => :publications, :action => :show, :id => publication.id, :project_id => @project.id}) -%>
|
| 19 | 19 |
|
| 20 | 20 |
<%= link_to l(:bibtex_link).html_safe, "javascript:void(0)", :class => "bibtex-link"-%> |
| 21 |
|
|
| 22 |
<%- unless publication.external_url.blank? -%> |
|
| 23 |
<%= link_to l(:external_url_link), publication.external_url, {:target => "_blank"} -%>
|
|
| 24 |
<%- end -%> |
|
| 25 |
|
|
| 26 |
|
|
| 21 | 27 |
</dd> |
| 22 | 28 |
<dd class="bibtex-textarea collapsed" style="display: none;"> |
| 23 | 29 |
<textarea readonly> <%= print_bibtex_format(publication) -%> </textarea> |
| plugins/redmine_bibliography/config/locales/en.yml | ||
|---|---|---|
| 150 | 150 |
|
| 151 | 151 |
bibtex_link: "[B<small>IB</small>T<sub>E</sub>X]" |
| 152 | 152 |
more_details_link: "[More Details]" |
| 153 |
external_url_link: "[URL (ext.)]" |
|
| 153 | 154 |
|
| plugins/redmine_tags/lib/redmine_tags/hooks/views_issues_hook.rb | ||
|---|---|---|
| 19 | 19 |
module RedmineTags |
| 20 | 20 |
module Hooks |
| 21 | 21 |
class ViewsIssuesHook < Redmine::Hook::ViewListener |
| 22 |
render_on :view_issues_show_details_bottom, :partial => 'issues/tags' |
|
| 23 |
render_on :view_issues_form_details_bottom, :partial => 'issues/tags_form' |
|
| 24 |
render_on :view_issues_sidebar_planning_bottom, :partial => 'issues/tags_sidebar' |
|
| 25 |
render_on :view_issues_bulk_edit_details_bottom, :partial => 'issues/tags_form' |
|
| 22 |
|
|
| 23 |
# TODO: temporary hack to disable tags on issues |
|
| 24 |
## BEGIN ~lf 20130712 |
|
| 25 |
|
|
| 26 |
# render_on :view_issues_show_details_bottom, :partial => '# issues/tags' |
|
| 27 |
# render_on :view_issues_form_details_bottom, :partial => '# issues/tags_form' |
|
| 28 |
# render_on :view_issues_sidebar_planning_bottom, :partial => '# issues/tags_sidebar' |
|
| 29 |
# render_on :view_issues_bulk_edit_details_bottom, :partial => 'issues/tags_form' |
|
| 30 |
|
|
| 31 |
## END ~lf 20130712 |
|
| 32 |
|
|
| 33 |
|
|
| 26 | 34 |
end |
| 27 | 35 |
end |
| 28 | 36 |
end |
Also available in: Unified diff