Skip to content

Commit

Permalink
changing the data load to load json to allow formatted strings
Browse files Browse the repository at this point in the history
  • Loading branch information
retroryan committed Jan 27, 2012
1 parent 30a3822 commit 8ffb46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/Labeler/labelNextPlace.html
Expand Up @@ -54,7 +54,7 @@
//The id's -1, -2, -3 are the alternative choices when none of the places match and should not be a link
if (id > -1) {
encodedFullName = fullName.replace(/ /gi,"_");
rowString = '<a href="http://www.werelate.org/Place:' + encodedFullName + '">' + fullName + '</a>';
rowString = '<a href="http://www.werelate.org/wiki/Place:' + encodedFullName + '">' + fullName + '</a>';
}
else {
rowString = fullName;
Expand Down
2 changes: 1 addition & 1 deletion app/views/main.html
Expand Up @@ -46,7 +46,7 @@
<div class="topbar-inner">
<div class="container-fluid">
<div style="float:left"><a class="brand" href="/">Place matcher</a></div>
<div style="float:left"><a class="brand" href="@{Labeler.labelNextPlace()}" style="font-size: 15px;">Choose the best match</a></div>
<div style="float:left"><a class="brand" href="@{Labeler.labelNextPlace()}" style="font-size: 15px; margin-top: 3px">Choose the best match</a></div>
<div style="float:right"><a class="download" href="http://github.com/DallanQ/Places">Download the source</a></div>
</div>
</div>
Expand Down

0 comments on commit 8ffb46e

Please sign in to comment.