Give citation title classes, have URL link, and get spacing just perfect
Ref #10
This commit is contained in:
parent
d3d09f56ca
commit
c58fa4b7a8
1 changed files with 6 additions and 6 deletions
|
@ -84,17 +84,17 @@ function geo_citation_pseudo_field($entity) {
|
|||
|
||||
$markup .= '<div class="geo-citation">';
|
||||
|
||||
$tooltip = t("When citing this article, please use the following format:")
|
||||
$markup .= '<h4><abbr title="' . $tooltip . '">' . t("Citations") . '</abbr></h4>';
|
||||
$tooltip = t("When citing this article, please use the following format:");
|
||||
$markup .= '<h4 class="title is-4"><abbr title="' . $tooltip . '">' . t("Citations") . '</abbr></h4>';
|
||||
|
||||
$markup .= '<p>';
|
||||
$markup .= "$authors ($year).  $title";
|
||||
$markup .= "$authors ($year).  $title";
|
||||
if ($subtitle) {
|
||||
$markup .= ":  $subtitle";
|
||||
$markup .= ":  $subtitle";
|
||||
}
|
||||
$markup .= ".  ";
|
||||
$markup .= ".  ";
|
||||
$markup .= t("Grassroots Economic Organizing (GEO).");
|
||||
$markup .= "  $url";
|
||||
$markup .= "  <a href='$url'>$url</a>'";
|
||||
$markup .= '</p>';
|
||||
|
||||
$markup .= '</div>';
|
||||
|
|
Loading…
Add table
Reference in a new issue