Skip to content

Commit 60d1144

Browse files
committed
Change 'Preview' to 'View'
This will always link to a project/release that is live, so it's never really a "Preview" per se. Also, this allows us to actually have a "Preview" some day when we allow for staged releases.
1 parent 9a1f4fe commit 60d1144

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

warehouse/templates/manage/project.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h1 class="package-snippet__title page-title">{{ project.name }}</h1>
5959
<div class="dropdown__content">
6060
<a href="{{ request.route_path('packaging.project', name=project.normalized_name) }}" class="dropdown__link">
6161
<i class="fa fa-eye" aria-hidden="true"></i>
62-
Preview Project
62+
View Project
6363
</a>
6464
{# TODO: https://github.com/pypa/warehouse/issues/2805
6565
<a href="#delete-project-modal" class="dropdown__link">
@@ -127,7 +127,7 @@ <h2>Releases ({{ project.releases|length }})</h2>
127127
#}
128128
<a href="{{ request.route_path('packaging.release', name=release.project.name, version=release.version) }}" class="dropdown__link">
129129
<i class="fa fa-eye" aria-hidden="true"></i>
130-
Preview
130+
View
131131
</a>
132132
{# TODO: https://github.com/pypa/warehouse/issues/2808
133133
<a href="#delete-release-modal-{{ loop.index }}" class="dropdown__link">

warehouse/templates/manage/projects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h3 class="package-snippet__title">{{ project.name }}</h3>
3333
</div>
3434
<div class="package-snippet__buttons">
3535
<a href="{{ request.route_path('manage.project.settings', name=project.normalized_name) }}" class="button button--highlight">Edit</a>
36-
<a href="{{ request.route_path('packaging.project', name=release.project.normalized_name) }}" class="button">Preview</a>
36+
<a href="{{ request.route_path('packaging.project', name=release.project.normalized_name) }}" class="button">View</a>
3737
</div>
3838
</div>
3939
</div>

0 commit comments

Comments
 (0)