aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-17 09:48:12 +0100
committerJochen Topf <jochen@topf.org>2013-01-17 09:48:12 +0100
commit5d4abbc9e3a634afa0ee18d8ea55c3dd6cd1a8cd (patch)
treeeae38485979359a537e894b8b7b15ad84910e25e /web/views
parent4449d51ab9c9d3a523af9008b21c372e36af76a8 (diff)
downloadtaginfo-5d4abbc9e3a634afa0ee18d8ea55c3dd6cd1a8cd.tar
taginfo-5d4abbc9e3a634afa0ee18d8ea55c3dd6cd1a8cd.tar.gz
Rename pp_* functions to fmt_*
Diffstat (limited to 'web/views')
-rw-r--r--web/views/key.erb2
-rw-r--r--web/views/relation.erb2
-rw-r--r--web/views/tag.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/web/views/key.erb b/web/views/key.erb
index e636b26..5a86516 100644
--- a/web/views/key.erb
+++ b/web/views/key.erb
@@ -105,7 +105,7 @@
JS.raw(<<"JAVASCRIPT")
function page_init2() {
var key = #{ @key.to_json };
- jQuery('h1').html(pp_key(key));
+ jQuery('h1').html(fmt_key(key));
init_tabs([key, #{ @filter_type.to_json }, #{ r18n.locale.code.to_json }]);
create_chart({
key: key,
diff --git a/web/views/relation.erb b/web/views/relation.erb
index 0c6b066..4cee9a9 100644
--- a/web/views/relation.erb
+++ b/web/views/relation.erb
@@ -24,7 +24,7 @@
JS.raw(<<"JAVASCRIPT")
function page_init2() {
var rtype = #{ @rtype.to_json };
- jQuery('h1').html("#{ t.pages.relation.name } '" + pp_rtype(rtype) + "'");
+ jQuery('h1').html("#{ t.pages.relation.name } '" + fmt_rtype(rtype) + "'");
init_tabs([rtype]);
}
JAVASCRIPT
diff --git a/web/views/tag.erb b/web/views/tag.erb
index 0ad61c7..3064437 100644
--- a/web/views/tag.erb
+++ b/web/views/tag.erb
@@ -77,7 +77,7 @@ function page_init2() {
var key = #{ @key.to_json },
value = #{ @value.to_json };
up = function() { window.location = url_for_key(key); };
- jQuery('h1').html(link_to_key(key) + '=' + pp_value(value));
+ jQuery('h1').html(link_to_key(key) + '=' + fmt_value(value));
jQuery('span#keylink').html(link_to_key(key));
init_tabs([key, value, #{ @filter_type.to_json }]);
}