From 776ebd5bb02d72643af877fd6915212de7433fb2 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Mon, 24 Oct 2016 18:04:59 +0100 Subject: [PATCH] Hide latitude, longitude in data tags so its machine readable, but not cluttering the UI --- changelog.md | 1 + resources/views/templates/note.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index cc5342e1..043b24e1 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ ## Version {next} - Having used `yarn` for npm packages, we now also use it for bower packages - Update typekit sri hash + - Hide co-ordinates, in data tags, we want them to be read by machines, but not humans ## Version 0.0.14.10 (2016-10-21) - Fix: Trying to get brid.gy markup compatibility diff --git a/resources/views/templates/note.blade.php b/resources/views/templates/note.blade.php index 6ba46589..17a12e46 100644 --- a/resources/views/templates/note.blade.php +++ b/resources/views/templates/note.blade.php @@ -16,7 +16,7 @@
@if($note->client_name) via {{ $note->client_name }}@endif - @if($note->address)in @if($note->placeLink)@endif{{ $note->address }}@if($note->placeLink)@endif ({{ $note->latitude }}, {{ $note->longitude }})@endif + @if($note->address)in @if($note->placeLink)@endif{{ $note->address }}@if($note->placeLink)@endif@endif @if($note->replies > 0)Replies: {{ $note->replies }}@endif @if($note->tweet_id)@include('templates.social-links', ['tweet_id' => $note->tweet_id, 'nb60id' => $note->nb60id])@endif @if ($note->placeLink)