You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2018/09/24 11:11:58 UTC

[trafficcontrol] 02/02: Add TO Perl UI link to portal in notfound page

This is an automated email from the ASF dual-hosted git repository.

dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 4a08608220ac6f2819b663601b4f3299d49fa6bb
Author: Robert Butts <ro...@apache.org>
AuthorDate: Tue Sep 18 13:54:47 2018 -0600

    Add TO Perl UI link to portal in notfound page
---
 traffic_ops/app/templates/not_found.html.ep | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/traffic_ops/app/templates/not_found.html.ep b/traffic_ops/app/templates/not_found.html.ep
index afa042f..74a3446 100644
--- a/traffic_ops/app/templates/not_found.html.ep
+++ b/traffic_ops/app/templates/not_found.html.ep
@@ -20,10 +20,14 @@
 	<div>
 	<h3><a href="#">Resource Not Found</a></h3>
 	  <div>
-	       Traffic Ops error, could not find the requested resource.
+			Traffic Ops error, could not find the requested resource.
 
-		  <div style="margin-top:20px;clear:both;">
-				<h2><a href="/">Click here to navigate to the main site if you so desire.</a></h2>
+			<div style="margin-top:20px;clear:both;">
+					If you are looking for an API endpoint, see the <a href="https://traffic-control-cdn.readthedocs.io/en/latest/api/index.html">API Documentation.</a>
+		  </div>
+
+			<div style="margin-top:20px;clear:both;">
+					If you are looking for a web page, the old Traffic Ops user interface was removed in Traffic Ops 4.0. Please use the <a href="https://traffic-control-cdn.readthedocs.io/en/latest/admin/traffic_portal/usingtrafficportal.html#usingtrafficportal">Traffic Portal</a> instead.
 		  </div>
 	  </div>
 	</div>