[gnome-web-www] Membership: Add last_renewed_on field for foundation members
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] Membership: Add last_renewed_on field for foundation members
- Date: Tue, 16 May 2017 17:08:57 +0000 (UTC)
commit cefe4c5ad551e1a4d0b194a406a4701c2e8f0685
Author: Tom Tryfonidis <tomtryf gnome org>
Date: Tue May 16 20:04:15 2017 +0300
Membership: Add last_renewed_on field for foundation members
theme/js/template.js | 10 ++++++++--
theme/page-membership.php | 2 +-
theme/style.css | 4 ++++
3 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/theme/js/template.js b/theme/js/template.js
index 856adc3..77e48f1 100644
--- a/theme/js/template.js
+++ b/theme/js/template.js
@@ -36,8 +36,14 @@ jQuery(document).ready(function($) {
}
});
}
-
-
+
+ /* Activate tooltips
+ * ====================================================================== */
+
+ $(function() {
+ $('[data-toggle="tooltip"]').tooltip()
+ })
+
/* Language selector
* ====================================================================== */
diff --git a/theme/page-membership.php b/theme/page-membership.php
index 12a3289..67a6ed5 100644
--- a/theme/page-membership.php
+++ b/theme/page-membership.php
@@ -25,7 +25,7 @@ $members = json_decode(file_get_contents($members_url));
if (isset($members)) {
echo '<ul class="foundation_members_list">'."\n";
foreach ($members as $member) {
- echo "<li>" . $member->common_name . "</li>\n";
+ echo '<li><a href="#" data-toggle="tooltip" title="Last renewed on: '.
$member->last_renewed_on . '">'. $member->common_name . '</a></li>';
}
echo '</ul>'."\n";
}
diff --git a/theme/style.css b/theme/style.css
index e18e50f..476f559 100644
--- a/theme/style.css
+++ b/theme/style.css
@@ -384,6 +384,10 @@ input[type=number]::-webkit-outer-spin-button {
column-count: 2;
}
+.foundation_members_list li a {
+ text-decoration: none;
+}
+
/* Page Title */
/* ========================================================================== */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]