Revision c714960c
Added by Andreas Kohlbecker about 5 years ago
modules/cdm_dataportal/includes/taxon.inc | ||
---|---|---|
130 | 130 |
drupal_set_message("Problem fetching sensu reference with uuid " . $sensu_uuid, 'error'); |
131 | 131 |
} |
132 | 132 |
if($sensu_strings['order_by_key'] != $sensu_reference->titleCache){ |
133 |
$footnote_key = FootnoteManager::addNewFootnote($footnote_list_key, $sensu_reference->titleCache); |
|
133 |
$sensu_reference_markup = theme('cdm_reference', array( |
|
134 |
'reference' => $sensu_reference, |
|
135 |
'microReference' => NULL, |
|
136 |
'doLink' => false, |
|
137 |
)); |
|
138 |
$footnote_key = FootnoteManager::addNewFootnote($footnote_list_key, $sensu_reference_markup); |
|
134 | 139 |
$footnote_key = theme('cdm_footnote_key', array('footnoteKey' => $footnote_key)); |
135 | 140 |
$joined_refs[$ref_key]['markup'] = '<span class="sensu">' . $sensu_strings['markup'] . $footnote_key . '</span>'; |
136 | 141 |
} |
modules/cdm_dataportal/theme/cdm_dataportal.references.theme | ||
---|---|---|
49 | 49 |
else { |
50 | 50 |
$author_team = $reference->authorship; |
51 | 51 |
} |
52 |
|
|
53 | 52 |
if ($referenceStyle == "zoology") { |
54 | 53 |
$year = ''; |
55 | 54 |
if (isset($reference->datePublished)) { |
src/test/java/eu/etaxonomy/dataportal/selenium/tests/reference/MisappliedNamesTest.java | ||
---|---|---|
119 | 119 |
* @throws MalformedURLException |
120 | 120 |
*/ |
121 | 121 |
@Test |
122 |
@Ignore |
|
123 | 122 |
public void tesIssue7778() throws MalformedURLException { |
124 | 123 |
|
125 | 124 |
TaxonSynonymyPage p = new TaxonSynonymyPage(driver, getContext(), miconia_cubacinerea_Uuid); |
... | ... | |
129 | 128 |
assertEquals("1. A&S, Plantas vasculares de Oz", footNote.getText()); |
130 | 129 |
List<LinkElement> links = footNote.getLinksInElement(); |
131 | 130 |
assertEquals(1, links.size()); |
132 |
assertEquals("http://onlinelibrary.wiley.com/doi/10.1111/j.1756-1051.2999.00012.x/full", links.get(0).getUrl());
|
|
131 |
assertEquals("http://doi.org/10.1111/j.1756-1051.2012.00012.x", links.get(0).getUrl());
|
|
133 | 132 |
|
134 | 133 |
} |
135 | 134 |
|
Also available in: Unified diff
fix #7778 display of doi and other identifiers in taxon relations section