Skip to content

Commit

Permalink
Merge pull request Ericsson#3376 from whisperity/fix-404-typo
Browse files Browse the repository at this point in the history
[web][NFC] Rephrase "report not found" error message
  • Loading branch information
whisperity authored Jul 9, 2021
2 parents 331f2c6 + b5d0679 commit 53fc3be
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions web/server/vue-cli/src/views/ReportDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
outlined
text
>
The report (report ID: {{ $router.currentRoute.query["report-id"] }},
report hash: {{ $router.currentRoute.query["report-hash"] }},
file path: {{ $router.currentRoute.query["report-filepath"] }})
was removed from the database.
The report (
report ID: <i>{{ $router.currentRoute.query["report-id"] }}</i>,
report hash: <i>{{ $router.currentRoute.query["report-hash"] }}</i>,
file path:
<i>"{{ $router.currentRoute.query["report-filepath"] }}"</i>
) was removed from the database.

<span v-if="!$router.currentRoute.query['report-hash']">
Unfortunatelly your URL parameter was saved from and older version
of CodeChecker and it does not contain a <i>report-hash</i>
parameter to fallback the search for.
Unfortunately, your hyperlink was copied from an older version of
CodeChecker and the request does not contain the <i>report-hash</i>
parameter which could be used as a fallback mechanism.
</span>
</v-alert>
</v-col>
Expand Down

0 comments on commit 53fc3be

Please sign in to comment.