From 9ad3e2df419ce5d85a927063117b9b326f0c6ed9 Mon Sep 17 00:00:00 2001
From: Chris Van
Date: Fri, 22 Apr 2011 19:59:37 -0400
Subject: [PATCH] ids for "Learn More" links (bug 631557)
---
apps/discovery/templates/discovery/addons/detail.html | 2 +-
apps/discovery/templates/discovery/pane.html | 2 +-
media/css/zamboni/discovery-pane.css | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/apps/discovery/templates/discovery/addons/detail.html b/apps/discovery/templates/discovery/addons/detail.html
index 6a439ba4eb..1bb5c6beda 100644
--- a/apps/discovery/templates/discovery/addons/detail.html
+++ b/apps/discovery/templates/discovery/addons/detail.html
@@ -26,7 +26,7 @@
{% endif %}
{{ _('Learn More') }}
+ id="learn-more" class="button">{{ _('Learn More') }}
{% with files = addon.current_version.all_files %}
{% if files and files[0].no_restart %}
diff --git a/apps/discovery/templates/discovery/pane.html b/apps/discovery/templates/discovery/pane.html
index 610cf13721..4a67c9a86a 100644
--- a/apps/discovery/templates/discovery/pane.html
+++ b/apps/discovery/templates/discovery/pane.html
@@ -22,7 +22,7 @@ data-account-url="{{ services_url('discovery.pane_account') }}"
extra functionality or style. Try a time-saving sidebar, a weather
notifier, or a themed look to make {{ app }} your own.
{% endtrans %}
- {{ _('Learn More') }}
+ {{ _('Learn More') }}
diff --git a/media/css/zamboni/discovery-pane.css b/media/css/zamboni/discovery-pane.css
index 49504e0b80..65202d5c38 100644
--- a/media/css/zamboni/discovery-pane.css
+++ b/media/css/zamboni/discovery-pane.css
@@ -169,14 +169,14 @@ header:after,
padding: 0 0 0 120px;
}
-#intro .button {
+#intro #learn-more {
position: absolute;
right: 0;
top: 0;
max-width: 100px;
}
-.html-rtl #intro .button {
+.html-rtl #intro #learn-more {
right: auto;
left: 0;
}