Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to show the number of downloads WITHOUT having the asset name in brackets? -- downloads|34 (instead of) downloads|34 [filename.exe] #1402

Open
Tylemagne opened this issue Dec 27, 2017 · 3 comments
Labels
good first issue New contributors, join in! service-badge Accepted and actionable changes, features, and bugs

Comments

@Tylemagne
Copy link

Tylemagne commented Dec 27, 2017

Example here: https://img.shields.io/github/downloads/atom/atom/latest/atom-amd64.deb.svg

@Tylemagne
Copy link
Author

Upon further inspection, it looks like the code sits at line 3862 in server.js

https://github.com/badges/shields/blob/master/server.js

@paulmelnikow paulmelnikow added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Dec 28, 2017
@RedSparr0w
Copy link
Member

I don't see a problem with adding an extra option which hides the filename.
Feel free to open a PR with the required changes,
Otherwise i may be able to look into it in the next few weeks.

@paulmelnikow paulmelnikow added service-badge Accepted and actionable changes, features, and bugs and removed question Support questions, usage questions, unconfirmed bugs, discussions, ideas labels Jan 15, 2018
@paulmelnikow paulmelnikow added the good first issue New contributors, join in! label Dec 7, 2018
@CookiePLMonster
Copy link

Otherwise i may be able to look into it in the next few weeks.

Having just ran into this exact use case, any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue New contributors, join in! service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

No branches or pull requests

4 participants