Revision 804:548e23d4cd71 vendor/plugins/redmine_bibliography/assets

View differences:

vendor/plugins/redmine_bibliography/assets/javascripts/authors.js
3 3
    $(link).up(".fields").hide();
4 4
}
5 5

  
6
function add_fields(link, association, content) {
7
    var new_id = new Date().getTime();
8
    var regexp = new RegExp("new_" + association, "g")
9
    $(link).insert({
10
	before: content.replace(regexp, new_id)
11
    });
6
function add_author_fields(link, association, content, action) {
7
	var new_id = new Date().getTime();
8
  var regexp = new RegExp("new_" + association, "g");
9
  $(link).insert({
10
		before: content.replace(regexp, new_id)
11
  });
12
	if(action != "new"){
13
		toggle_save_author(new_id, $(link));
14
	};
12 15
}
13 16

  
14 17
function identify_author_status(status, object_id) {
vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css
39 39
div#bibliography dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
40 40
div#bibliography .box dd { margin-bottom: 0.6em; padding-left: 0; }
41 41
div#bibliography dd .authors { font-style: italic; }
42
div#bibliography dt .title { font-style: italic; }
42 43
div#bibliography dd span.authors { color: #808080; }
43 44
div#bibliography dd span.year { padding-left: 0.6em; }
44 45

  

Also available in: Unified diff