From c58fa4b7a8e2b70411069e4a639bcc60ade90870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 29 Sep 2019 10:20:35 -0400 Subject: [PATCH] Give citation title classes, have URL link, and get spacing just perfect Ref #10 --- web/modules/custom/geo_citation/geo_citation.module | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/modules/custom/geo_citation/geo_citation.module b/web/modules/custom/geo_citation/geo_citation.module index 3125819..8d9f971 100644 --- a/web/modules/custom/geo_citation/geo_citation.module +++ b/web/modules/custom/geo_citation/geo_citation.module @@ -84,17 +84,17 @@ function geo_citation_pseudo_field($entity) { $markup .= '
'; - $tooltip = t("When citing this article, please use the following format:") - $markup .= '

' . t("Citations") . '

'; + $tooltip = t("When citing this article, please use the following format:"); + $markup .= '

' . t("Citations") . '

'; $markup .= '

'; - $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 .= "  $url'"; $markup .= '

'; $markup .= '
';