Revision 1023:3d924264419a vendor/plugins/redmine_bibliography
| vendor/plugins/redmine_bibliography/app/models/publication.rb | ||
|---|---|---|
| 82 | 82 |
end |
| 83 | 83 |
|
| 84 | 84 |
if style == :ieee |
| 85 |
CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html |
|
| 86 |
else |
|
| 87 |
bib.to_s :include => :meta_content |
|
| 85 |
CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html |
|
| 86 |
else |
|
| 87 |
bibtex = bib.to_s :include => :meta_content |
|
| 88 |
bibtex.strip! |
|
| 89 |
logger.error { bibtex }
|
|
| 88 | 90 |
end |
| 89 | 91 |
end |
| 90 | 92 |
end |
| vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb | ||
|---|---|---|
| 20 | 20 |
<%= link_to_function "[Bibtex]", onclick="toggleBibtex(this)" -%> |
| 21 | 21 |
</dd> |
| 22 | 22 |
<dd class="bibtex-textarea collapsed" style="display: none;"> |
| 23 |
<textarea> |
|
| 24 |
<%= publication.print_entry(:bibtex) -%> |
|
| 25 |
</textarea> |
|
| 23 |
<textarea readonly><%= publication.print_entry(:bibtex) -%></textarea> |
|
| 26 | 24 |
</dd> |
| 27 | 25 |
<% end -%> |
| 28 | 26 |
</dl> |
| vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css | ||
|---|---|---|
| 47 | 47 |
margin-left: 25px; |
| 48 | 48 |
} |
| 49 | 49 |
|
| 50 |
div#bibliography h3 {
|
|
| 51 |
background: url(../../../images/table_multiple.png) no-repeat 0% 50%; |
|
| 52 |
padding-left: 20px; |
|
| 53 |
} |
|
| 50 | 54 |
|
| 51 |
div#bibliography h3 { background: url(../../../images/table_multiple.png) no-repeat 0% 50%; padding-left: 20px; }
|
|
| 55 |
div#bibliography textarea {
|
|
| 56 |
width: 90%; |
|
| 57 |
height: 200px; |
|
| 58 |
font: normal 8px; |
|
| 59 |
padding: 2px 10px; |
|
| 60 |
border: solid 1px #ddd; |
|
| 61 |
} |
|
Also available in: Unified diff