summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-07-03 00:05:26 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-07-03 00:05:26 +0200
commit506d5edbdf3b31428b3ad3643b3f524bb2418eb8 (patch)
treeaf2f2643000c28756f173ce9f05737f831811fe2 /views
parentba8ab20a401afc3ae34c6d72f971f1eff3e3977c (diff)
downloadcollection-json-explorer-506d5edbdf3b31428b3ad3643b3f524bb2418eb8.tar.gz
collection-json-explorer-506d5edbdf3b31428b3ad3643b3f524bb2418eb8.tar.bz2
collection-json-explorer-506d5edbdf3b31428b3ad3643b3f524bb2418eb8.tar.xz
collection-json-explorer-506d5edbdf3b31428b3ad3643b3f524bb2418eb8.zip
o Telling users how the links is opened.
Diffstat (limited to 'views')
-rw-r--r--views/data.jade4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/data.jade b/views/data.jade
index ad4a274..57f191e 100644
--- a/views/data.jade
+++ b/views/data.jade
@@ -4,7 +4,9 @@ block href
if typeof href != 'string'
div &lt;no href>
else
- div: a(href=urlgenerator.render(href)) #{href}
+ div
+ a(href=urlgenerator.render(href)) #{href}
+ | (opens in explorer)
block link
- var name = typeof link.name == 'string' ? link.name : '<no name attribute>'