diff --git a/public_html/modules/campaign/dashboard.php b/public_html/modules/campaign/dashboard.php index cb69726..1be24f4 100644 --- a/public_html/modules/campaign/dashboard.php +++ b/public_html/modules/campaign/dashboard.php @@ -41,6 +41,7 @@ catch (NotFoundException $e) $sPageTitle = "Dashboard for {$sCampaign->sName}"; $sPageContents = NewTemplater::Render("campaign/dashboard", $locale->strings, array( "name" => $sCampaign->sName, + "urlname" => $sCampaign->sUrlName, "payment-methods" => $sPaymentMethods )); diff --git a/public_html/static/css/style.css b/public_html/static/css/style.css index 02900a2..e17f680 100644 --- a/public_html/static/css/style.css +++ b/public_html/static/css/style.css @@ -693,3 +693,34 @@ p.pledge-button { padding: 16px 20px; } + +/************************************** + * COMPLEX HEADERS * + **************************************/ + +.complex-header h1, .complex-header h2, .complex-header h3, .complex-header h4, .complex-header h5, .complex-header h6 +{ + float: left; + margin-right: 12px; +} + +.complex-header .button +{ + float: left; + display: block; + border: 1px solid #8BA866; + border-radius: 8px; + background-color: #F5FAEA; + padding: 3px 6px; + margin-top: 3px; + margin-right: 8px; + text-decoration: none; + font-weight: bold; + color: black; +} + +.complex-header .button:hover +{ + border: 1px solid #587532; + background-color: #F1FFD0; +} diff --git a/public_html/templates/campaign/dashboard.tpl b/public_html/templates/campaign/dashboard.tpl index c8099c3..bc69783 100644 --- a/public_html/templates/campaign/dashboard.tpl +++ b/public_html/templates/campaign/dashboard.tpl @@ -37,7 +37,11 @@
-

Payment methods

+
+

Payment methods

+ Add method +
+
{%foreach method in payment-methods} {%if isempty|method[image] == false}