Difference between revisions of "Project-GC Userscript/Development/Last Log was a DNF"
m (4265399 moved page Template:Project-GC Userscript/Development/test to Project-GC Userscript/Development/LogBookLinks: bad create) |
(upload from github) |
||
Line 1: | Line 1: | ||
− | + | {{PGC-back-link | |
+ | |content=Latest Logs Feature | ||
+ | |link=Project-GC_Userscript/Development | ||
+ | }} | ||
+ | = Description = | ||
+ | '''Last Log was a DNF''' is a feature that displays blue text just below the difficulty/terrain sections of a geocache page. It will display the following blue colored text: "Cache Issues: The latest log for this cache is a DNF, please read the log before before beginning your search." (see below).<br/> | ||
+ | [[File:latest_log_dnf.png|500px]] | ||
+ | |||
+ | = Change Log = | ||
+ | == 2022-08-23; Issue #111. Fixed in v2.3.15 == | ||
+ | Updated the code to account for the changes in the HTML. A span was added. Around Line 855, changed from:<br> | ||
+ | <pre> | ||
+ | // If the first log is a DNF, display a blue warning on top of the page | ||
+ | if($('#cache_logs_table tr:first td div.LogDisplayRight strong img').attr('src') === '/images/logtypes/3.png') {</pre>--> to: | ||
+ | <pre> | ||
+ | // If the first log is a DNF, display a blue warning on top of the page | ||
+ | if($('#cache_logs_table span.h4 img').attr('src') === '/images/logtypes/3.png') { | ||
+ | </pre> |
Revision as of 23:03, 31 August 2022
Latest Logs Feature | Project-GC_Userscript/Development |
Description
Last Log was a DNF is a feature that displays blue text just below the difficulty/terrain sections of a geocache page. It will display the following blue colored text: "Cache Issues: The latest log for this cache is a DNF, please read the log before before beginning your search." (see below).
Change Log
2022-08-23; Issue #111. Fixed in v2.3.15
Updated the code to account for the changes in the HTML. A span was added. Around Line 855, changed from:
// If the first log is a DNF, display a blue warning on top of the page if($('#cache_logs_table tr:first td div.LogDisplayRight strong img').attr('src') === '/images/logtypes/3.png') {
--> to:
// If the first log is a DNF, display a blue warning on top of the page if($('#cache_logs_table span.h4 img').attr('src') === '/images/logtypes/3.png') {