Skip to content

Commit e0d3de3

Browse files
authored
Shrink org icon (#17730)
* Update org owner icon * Update translations * Remove unused static asset
1 parent 1d2b24f commit e0d3de3

File tree

4 files changed

+39
-52
lines changed

4 files changed

+39
-52
lines changed

warehouse/locale/messages.pot

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3087,106 +3087,106 @@ msgid "These details have been <a href=\"%(href)s\">verified by PyPI</a>"
30873087
msgstr ""
30883088

30893089
#: warehouse/templates/includes/packaging/project-data.html:23
3090-
#: warehouse/templates/includes/packaging/project-data.html:184
3090+
#: warehouse/templates/includes/packaging/project-data.html:183
30913091
msgid "Project links"
30923092
msgstr ""
30933093

3094-
#: warehouse/templates/includes/packaging/project-data.html:50
3094+
#: warehouse/templates/includes/packaging/project-data.html:49
30953095
msgid "GitHub Statistics"
30963096
msgstr ""
30973097

3098-
#: warehouse/templates/includes/packaging/project-data.html:56
3099-
#: warehouse/templates/includes/packaging/project-data.html:102
3098+
#: warehouse/templates/includes/packaging/project-data.html:55
3099+
#: warehouse/templates/includes/packaging/project-data.html:101
31003100
msgid "Repository"
31013101
msgstr ""
31023102

3103-
#: warehouse/templates/includes/packaging/project-data.html:63
3104-
#: warehouse/templates/includes/packaging/project-data.html:109
3103+
#: warehouse/templates/includes/packaging/project-data.html:62
3104+
#: warehouse/templates/includes/packaging/project-data.html:108
31053105
msgid "Stars:"
31063106
msgstr ""
31073107

3108-
#: warehouse/templates/includes/packaging/project-data.html:71
3109-
#: warehouse/templates/includes/packaging/project-data.html:117
3108+
#: warehouse/templates/includes/packaging/project-data.html:70
3109+
#: warehouse/templates/includes/packaging/project-data.html:116
31103110
msgid "Forks:"
31113111
msgstr ""
31123112

3113-
#: warehouse/templates/includes/packaging/project-data.html:79
3114-
#: warehouse/templates/includes/packaging/project-data.html:125
3113+
#: warehouse/templates/includes/packaging/project-data.html:78
3114+
#: warehouse/templates/includes/packaging/project-data.html:124
31153115
msgid "Open issues:"
31163116
msgstr ""
31173117

3118-
#: warehouse/templates/includes/packaging/project-data.html:87
3118+
#: warehouse/templates/includes/packaging/project-data.html:86
31193119
msgid "Open PRs:"
31203120
msgstr ""
31213121

3122-
#: warehouse/templates/includes/packaging/project-data.html:96
3122+
#: warehouse/templates/includes/packaging/project-data.html:95
31233123
msgid "GitLab Statistics"
31243124
msgstr ""
31253125

3126-
#: warehouse/templates/includes/packaging/project-data.html:133
3126+
#: warehouse/templates/includes/packaging/project-data.html:132
31273127
msgid "Open merge requests:"
31283128
msgstr ""
31293129

3130-
#: warehouse/templates/includes/packaging/project-data.html:142
3130+
#: warehouse/templates/includes/packaging/project-data.html:141
31313131
msgid "Maintainers"
31323132
msgstr ""
31333133

3134-
#: warehouse/templates/includes/packaging/project-data.html:144
3134+
#: warehouse/templates/includes/packaging/project-data.html:143
31353135
#, python-brace-format
31363136
msgid "Avatar for {username} from gravatar.com"
31373137
msgstr ""
31383138

3139-
#: warehouse/templates/includes/packaging/project-data.html:159
3140-
#: warehouse/templates/includes/packaging/project-data.html:200
3139+
#: warehouse/templates/includes/packaging/project-data.html:158
3140+
#: warehouse/templates/includes/packaging/project-data.html:199
31413141
msgid "Meta"
31423142
msgstr ""
31433143

3144-
#: warehouse/templates/includes/packaging/project-data.html:164
3145-
#: warehouse/templates/includes/packaging/project-data.html:225
3146-
#: warehouse/templates/includes/packaging/project-data.html:231
3144+
#: warehouse/templates/includes/packaging/project-data.html:163
3145+
#: warehouse/templates/includes/packaging/project-data.html:224
3146+
#: warehouse/templates/includes/packaging/project-data.html:230
31473147
msgid "Author:"
31483148
msgstr ""
31493149

3150-
#: warehouse/templates/includes/packaging/project-data.html:171
3151-
#: warehouse/templates/includes/packaging/project-data.html:238
3152-
#: warehouse/templates/includes/packaging/project-data.html:244
3150+
#: warehouse/templates/includes/packaging/project-data.html:170
3151+
#: warehouse/templates/includes/packaging/project-data.html:237
3152+
#: warehouse/templates/includes/packaging/project-data.html:243
31533153
#: warehouse/templates/pages/help.html:633
31543154
msgid "Maintainer:"
31553155
msgstr ""
31563156

3157-
#: warehouse/templates/includes/packaging/project-data.html:181
3157+
#: warehouse/templates/includes/packaging/project-data.html:180
31583158
msgid "Unverified details"
31593159
msgstr ""
31603160

3161-
#: warehouse/templates/includes/packaging/project-data.html:182
3161+
#: warehouse/templates/includes/packaging/project-data.html:181
31623162
msgid "These details have <b>not</b> been verified by PyPI"
31633163
msgstr ""
31643164

3165-
#: warehouse/templates/includes/packaging/project-data.html:205
3165+
#: warehouse/templates/includes/packaging/project-data.html:204
31663166
msgid "License Expression:"
31673167
msgstr ""
31683168

3169-
#: warehouse/templates/includes/packaging/project-data.html:210
3169+
#: warehouse/templates/includes/packaging/project-data.html:209
31703170
msgid "License Expression"
31713171
msgstr ""
31723172

3173-
#: warehouse/templates/includes/packaging/project-data.html:218
3173+
#: warehouse/templates/includes/packaging/project-data.html:217
31743174
msgid "License:"
31753175
msgstr ""
31763176

3177-
#: warehouse/templates/includes/packaging/project-data.html:252
3177+
#: warehouse/templates/includes/packaging/project-data.html:251
31783178
msgid "Tags"
31793179
msgstr ""
31803180

3181-
#: warehouse/templates/includes/packaging/project-data.html:264
3181+
#: warehouse/templates/includes/packaging/project-data.html:263
31823182
msgid "Requires:"
31833183
msgstr ""
31843184

3185-
#: warehouse/templates/includes/packaging/project-data.html:271
3185+
#: warehouse/templates/includes/packaging/project-data.html:270
31863186
msgid "Provides-Extra:"
31873187
msgstr ""
31883188

3189-
#: warehouse/templates/includes/packaging/project-data.html:281
3189+
#: warehouse/templates/includes/packaging/project-data.html:280
31903190
#: warehouse/templates/pages/classifiers.html:16
31913191
#: warehouse/templates/pages/classifiers.html:21
31923192
#: warehouse/templates/pages/sitemap.html:39
-2.32 KB
Binary file not shown.

warehouse/static/images/blue-sitemap.svg

Lines changed: 0 additions & 12 deletions
This file was deleted.

warehouse/templates/includes/packaging/project-data.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@ <h6>{% trans %}Project links{% endtrans %}</h6>
3535
{% endif %}
3636
{% if project.organization %}
3737
<h6>Owner</h6>
38-
<span class="sidebar-section__maintainer">
39-
<a href="{{ request.route_path('organizations.profile', organization=project.organization.name) }}" aria-label="{{ project.organization.name }}">
40-
<span class="sidebar-section__user-gravatar">
41-
<img src="{{ request.static_path('warehouse:static/dist/images/blue-sitemap.png') }}" height="43" alt="organization icon" title="organization icon"> </span>
42-
<span class="sidebar-section__user-gravatar-text">
38+
<ul class="vertical-tabs__list">
39+
<li>
40+
<a class="vertical-tabs__tab vertical-tabs__tab--with-icon vertical-tabs__tab--condensed" href="{{ request.route_path('organizations.profile', organization=project.organization.name) }}" aria-label="{{ project.organization.name }}">
41+
<i class="fa fa-sitemap" aria-hidden="true"></i>
4342
{{ project.organization.display_name }}
44-
</span>
45-
</a>
46-
</span>
43+
</a>
44+
</li>
45+
</ul>
4746
{% endif %}
4847

4948
{% if release.verified_github_repo_info_url and release.verified_github_open_issue_info_url %}

0 commit comments

Comments
 (0)