You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/templates/error.hbs
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,20 @@
1
1
<articleclass="whoops">
2
2
{{#if (eqthis.model.status404)}}
3
3
<h2class="whoops__title">Ack! 404 friend, you're in the wrong place</h2>
4
-
<divclass="whoops__message">
4
+
{{#ifthis.model.attemptedVersion}}
5
+
<h3>
6
+
{{this.model.message}}
7
+
</h3>
8
+
<p>
9
+
Modules, classes, and functions sometimes move around or are renamed across versions.
10
+
Try the <LinkTo @route="project-version" @models={{arraythis.model.attemptedProjectthis.model.attemptedVersion}} data-test-version-index-link>v{{this.model.attemptedVersion}} API docs index.</LinkTo>
11
+
</p>
12
+
{{else}}
5
13
<p>
6
14
This page wasn't found. Please try the <LinkTo @route="index">API docs page</LinkTo>.
7
15
If you expected something else to be here, please file a <ahref="https://github.com/ember-learn/ember-api-docs/issues/new"target="_blank"rel="noopener noreferrer">ticket</a>.
0 commit comments