Mercurial > hg > soundsoftware-site
changeset 1037:d937100c4b4a cannam
Layout tweaks
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 13 Nov 2012 14:22:55 +0000 |
parents | 8526d7436527 |
children | a7534dad6d19 |
files | vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Tue Nov 13 14:09:25 2012 +0000 +++ b/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Tue Nov 13 14:22:55 2012 +0000 @@ -17,7 +17,7 @@ <dd> <%= link_to("[More Details]", {:controller => :publications, :action => :show, :id => publication.id, :project_id => @project.id}) -%> - <%= link_to_function "[Bibtex]", onclick="toggleBibtex(this)" -%> + <%= link_to_function "[B<small>IB</small>T<sub>E</sub>X]", onclick="toggleBibtex(this)" -%> </dd> <dd class="bibtex-textarea collapsed" style="display: none;"> <textarea readonly><%= publication.print_entry(:bibtex) -%></textarea>
--- a/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Tue Nov 13 14:09:25 2012 +0000 +++ b/vendor/plugins/redmine_bibliography/app/views/publications/show.html.erb Tue Nov 13 14:22:55 2012 +0000 @@ -2,10 +2,10 @@ <div class="box"> <h3>Publication Info</h3> - <%= show_cite_proc_entry(@publication)%> + <p><%= show_cite_proc_entry(@publication)%></p> - <h3>Bibtex Format</h3> - <%=h print_bibtex_entry(@publication) %> + <h3>B<small>IB</small>T<sub>E</sub>X Format</h3> + <pre><%=h print_bibtex_entry(@publication) %></pre> </div> <div class="box">
--- a/vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css Tue Nov 13 14:09:25 2012 +0000 +++ b/vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css Tue Nov 13 14:22:55 2012 +0000 @@ -40,7 +40,7 @@ div#bibliography dd span.year { padding-left: 0.6em; } div#bibliography .box dt { - background: url(../../../images/document.png) no-repeat 0% 50%; padding-left: 20px; + background: url(../../../images/document.png) no-repeat 0% 4px; padding-left: 20px; margin-left: 2em; } div#bibliography .box dd { @@ -58,4 +58,4 @@ font: normal 8px; padding: 2px 10px; border: solid 1px #ddd; -} \ No newline at end of file +}