Closed dbu closed 10 years ago
as they all follow the same schema, we could just provide global configuration in parameters.yml like this:
status_images: downloads: img_prefix: https://secure.travis-ci.org/ img_postfix: .png caption: Build Status link_prefix: http://travis-ci.org/ link_postfix: ~
This would render as
<a href="http://travis-ci.org/symfony-cmf/symfony-cmf-standard" target="_blank" title="Build Status"> <img src="https://secure.travis-ci.org/symfony-cmf/symfony-cmf-standard.png" alt="Build Status"> </a>
we could also add a promote option that makes this image show right next to the repo title, and add a tab for less important images. i.e. show build status and latest stable right away, and all the other cool stuff in the tab.
Other examples:
Latest Stable Version https://poser.pugx.org/symfony-cmf/standard-edition/version.png https://packagist.org/packages/symfony-cmf/standard-edition
Total Downloads https://poser.pugx.org/symfony-cmf/standard-edition/d/total.png https://packagist.org/packages/symfony-cmf/standard-edition
fixed in #18
as they all follow the same schema, we could just provide global configuration in parameters.yml like this:
This would render as
we could also add a promote option that makes this image show right next to the repo title, and add a tab for less important images. i.e. show build status and latest stable right away, and all the other cool stuff in the tab.
Other examples:
Latest Stable Version https://poser.pugx.org/symfony-cmf/standard-edition/version.png https://packagist.org/packages/symfony-cmf/standard-edition
Total Downloads https://poser.pugx.org/symfony-cmf/standard-edition/d/total.png https://packagist.org/packages/symfony-cmf/standard-edition