Skip to content

Commit

Permalink
Temporarily revert project links to avoid dashboard (#1544)
Browse files Browse the repository at this point in the history
* temporarily avoid dashboard links in project page

Based upon my workshop this morning and observing multiple projects experiencing 500 errors in the dashboard, some consistently, this commit reverts the project page links to go directly to the lexicon app, instead of the dashboard.

This can be reverted back to the dashboard once we have more confidence that dashboard is stable and does not block users from getting to the app.

* change My Projects list to avoid dashboard links
  • Loading branch information
megahirt authored Oct 19, 2022
1 parent 699c82c commit 4165a7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{% endif %}
{% for project in projects %}
<a class="dropdown-item"
href="{{ '/projects/'~project.projectCode }}">{{ project.projectName }}</a>
href="{{ '/app/lexicon/'~project.id }}">{{ project.projectName }}</a>
{% endfor %}
</div>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,12 @@
<div data-ng-repeat="project in visibleProjects">
<div class="row align-items-center mb-3" data-ng-class="{active: $ctrl.isSelected(project)}">
<div class="col-md-4">
<a data-ng-show="$ctrl.isInProject(project)" data-ng-href="/projects/{{project.projectCode}}">
<a data-ng-show="$ctrl.isInProject(project)" data-ng-href="/app/lexicon/{{project.id}}">
<span class="larger-text">{{project.projectName}}</span></a>
<a data-ng-show="$ctrl.isInProject(project)" data-ng-href="/projects/{{project.projectCode}}">
<span>(Dashboard)</span></a>
<span data-ng-show="!$ctrl.isInProject(project)" class="larger-text">{{project.projectName}}</span>
<small class="text-muted"> {{project.projectCode}}</small>
</div>
<div class="col-7 col-md-5" data-ng-show="$ctrl.rights.canEditProjects">
<small class="text-muted">{{$ctrl.projectTypeNames[project.appName]}}</small>
Expand Down

0 comments on commit 4165a7f

Please sign in to comment.