Revision 1037:d937100c4b4a vendor/plugins/redmine_bibliography
| 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 | ||
|---|---|---|
| 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;
|
|
| 43 |
background: url(../../../images/document.png) no-repeat 0% 4px; padding-left: 20px;
|
|
| 44 | 44 |
margin-left: 2em; |
| 45 | 45 |
} |
| 46 | 46 |
div#bibliography .box dd {
|
| ... | ... | |
| 58 | 58 |
font: normal 8px; |
| 59 | 59 |
padding: 2px 10px; |
| 60 | 60 |
border: solid 1px #ddd; |
| 61 |
} |
|
| 61 |
} |
|
Also available in: Unified diff