Revision 1063:6f464526403b vendor/plugins/redmine_bibliography

View differences:

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
}

Also available in: Unified diff