From 8d66da2635e06f738c75eb3249426bec56bbc836 Mon Sep 17 00:00:00 2001 From: Tomas Pohanka Date: Fri, 14 Feb 2014 20:26:07 +0100 Subject: [PATCH] For transformation show projected CRS. --- css/main.css | 3 ++- templates/detail.tpl | 62 ++++++++++++++++++++++++++++++-------------- 2 files changed, 45 insertions(+), 20 deletions(-) diff --git a/css/main.css b/css/main.css index ab3737d..4ded849 100644 --- a/css/main.css +++ b/css/main.css @@ -233,7 +233,8 @@ h4, .h4 { margin: 20px 0 13px 0; padding: 0; font-size: 16px; color: #000; } .btn-link-container a:hover { text-decoration: none; background: #03639B; } .btn-link-container a:hover i { border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) #fff; } - + #projected-link-trans a:hover span { color: #4295c5; text-decoration: none; } + .transformations-container { width: 350px; } .transformations-container-inner { height: 380px; overflow-y: scroll; } .transformations-container-inner ul li { margin-bottom: 7px; } diff --git a/templates/detail.tpl b/templates/detail.tpl index 124a4c6..e388c3e 100644 --- a/templates/detail.tpl +++ b/templates/detail.tpl @@ -143,11 +143,34 @@ %end
+ %if default_trans: {{default_trans['area']}} %elif item['area'] and (url_area): {{item['area']}} %end + + %found_trans = False + %if item['kind'].startswith("COORDOP"): +

+ %found_trans = True + + %end
@@ -801,29 +824,30 @@
%end - - + %end