From 0981f4d927b3bae94b591e2e6e5114d34fffec48 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 29 Aug 2011 18:51:51 +0530 Subject: [PATCH] minor, css --- gazetteer/static/css/main.css | 7 +++++++ gazetteer/static/js/gazetteer.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gazetteer/static/css/main.css b/gazetteer/static/css/main.css index 480a8f8..b5f83e3 100644 --- a/gazetteer/static/css/main.css +++ b/gazetteer/static/css/main.css @@ -179,3 +179,10 @@ clear:both;} #mapList thead { font-weight:bold; } + +.viewSimilar { + text-decoration: none; + font-size: 11px; + font-style: italic; + color: #666; +} diff --git a/gazetteer/static/js/gazetteer.js b/gazetteer/static/js/gazetteer.js index 9edec3b..3d292e0 100644 --- a/gazetteer/static/js/gazetteer.js +++ b/gazetteer/static/js/gazetteer.js @@ -40,7 +40,7 @@ function getRow(props) { var $tr = $(''); var $one = $('').appendTo($tr); var $a = $('').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name + " ").appendTo($one); - var $a2 = $('').attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one); + var $a2 = $('').addClass("viewSimilar").attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one); $('').text(props.feature_type).appendTo($tr); $('').text(props.admin2).appendTo($tr); $('').text(props.admin1).appendTo($tr);