Revision 1063:6f464526403b vendor/plugins
| vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb | ||
|---|---|---|
| 17 | 17 |
<dd> |
| 18 | 18 |
<%= link_to("[More Details]", {:controller => :publications, :action => :show, :id => publication.id, :project_id => @project.id}) -%>
|
| 19 | 19 |
|
| 20 |
<%= link_to_function "[Bibtex]", onclick="toggleBibtex(this)" -%>
|
|
| 20 |
<%= link_to_function "[B<small>IB</small>T<sub>E</sub>X]", onclick="toggleBibtex(this)" -%>
|
|
| 21 | 21 |
</dd> |
| 22 | 22 |
<dd class="bibtex-textarea collapsed" style="display: none;"> |
| 23 | 23 |
<textarea readonly><%= publication.print_entry(:bibtex) -%></textarea> |
| vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb | ||
|---|---|---|
| 2 | 2 |
|
| 3 | 3 |
<div class="box"> |
| 4 | 4 |
<h3>Publication Info</h3> |
| 5 |
<%= show_cite_proc_entry(@publication)%>
|
|
| 5 |
<p><%= show_cite_proc_entry(@publication)%></p>
|
|
| 6 | 6 |
|
| 7 |
<h3>Bibtex Format</h3>
|
|
| 8 |
<%=h print_bibtex_entry(@publication) %>
|
|
| 7 |
<h3>B<small>IB</small>T<sub>E</sub>X Format</h3>
|
|
| 8 |
<pre><%=h print_bibtex_entry(@publication) %></pre>
|
|
| 9 | 9 |
</div> |
| 10 | 10 |
|
| 11 | 11 |
<div class="box"> |
| vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css | ||
|---|---|---|
| 33 | 33 |
} |
| 34 | 34 |
|
| 35 | 35 |
|
| 36 |
div#bibliography dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
|
|
| 36 |
div#bibliography dd { margin-bottom: 1em; font-size: 0.9em; }
|
|
| 37 | 37 |
|
| 38 | 38 |
div#bibliography dd .authors { font-style: italic; }
|
| 39 | 39 |
div#bibliography dd span.authors { color: #808080; }
|
| 40 | 40 |
div#bibliography dd span.year { padding-left: 0.6em; }
|
| 41 | 41 |
|
| 42 | 42 |
div#bibliography .box dt {
|
| 43 |
background: url(../../../images/document.png) no-repeat 0% 50%; padding-left: 20px; |
|
| 44 |
margin-left: 2em; |
|
| 43 |
background: url(../../../images/document.png) no-repeat 0% 4px; |
|
| 44 |
padding-left: 20px; |
|
| 45 |
margin-left: 0; |
|
| 45 | 46 |
} |
| 46 | 47 |
div#bibliography .box dd {
|
| 47 |
margin-left: 25px; |
|
| 48 |
padding-left: 20px; |
|
| 49 |
margin-left: 0; |
|
| 48 | 50 |
} |
| 49 | 51 |
|
| 50 | 52 |
div#bibliography h3 {
|
| ... | ... | |
| 58 | 60 |
font: normal 8px; |
| 59 | 61 |
padding: 2px 10px; |
| 60 | 62 |
border: solid 1px #ddd; |
| 61 |
} |
|
| 63 |
} |
|
| vendor/plugins/redmine_tags/app/controllers/tags_controller.rb | ||
|---|---|---|
| 1 |
class TagsController < ApplicationController |
|
| 2 |
|
|
| 3 |
def index |
|
| 4 |
respond_to do |format| |
|
| 5 |
format.html {
|
|
| 6 |
render :template => 'tags/index.html.erb', :layout => !request.xhr? |
|
| 7 |
} |
|
| 8 |
format.api {
|
|
| 9 |
} |
|
| 10 |
format.atom {
|
|
| 11 |
} |
|
| 12 |
end |
|
| 13 |
end |
|
| 14 |
|
|
| 15 |
end |
|
| vendor/plugins/redmine_tags/app/views/projects/_tagcloud.html.erb | ||
|---|---|---|
| 1 |
<% content_for :header_tags do %> |
|
| 2 |
<%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> |
|
| 3 |
<% end %> |
|
| 4 | 1 |
|
| 5 | 2 |
<div id="tags"> |
| 6 | 3 |
<%= render_tags_list(Project.available_tags, :style => :cloud) %> |
| vendor/plugins/redmine_tags/app/views/tags/index.html.erb | ||
|---|---|---|
| 1 |
<% content_for :header_tags do %> |
|
| 2 |
<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>
|
|
| 3 |
<%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> |
|
| 4 |
<% end %> |
|
| 5 |
|
|
| 6 |
|
|
| 7 |
<div style="clear:both;"></div> |
|
| 8 |
<h2> |
|
| 9 |
<%= l("label_project_tags_all") %>
|
|
| 10 |
</h2> |
|
| 11 |
|
|
| 12 |
<%= render_tags_list(Project.available_tags, :style => :cloud) %> |
|
| 13 |
|
|
Also available in: Unified diff