#99 coreos-download: add routing under /coreos/download
Merged by bcotton. Opened by abai.
fedora-web/ abai/websites coreos-download  into  master

Download 99.patch

Adds three routes under /coreos/download:
- /coreos/download/cloud_launchable/
- /coreos/download/metal_virtualized/
- /coreos/download/cloud_operators/

All of the three subroutes render with /coreos/download/index.html
but preserves the url. The frontend will then render with different
tab view according to the requested url.

This change makes sharing fedora coreos download page more convenient
by going to the target platform tab directly instead of additional
clicks.

Closes: https://github.com/coreos/fedora-coreos-tracker/issues/417
https://pagure.io/fedora-web/websites/issue/98
Signed-off-by: Allen Bai abai@redhat.com

Example usage:
- http://0.0.0.0:5000/en/coreos/download/cloud_launchable/
- http://0.0.0.0:5000/en/coreos/download/metal_virtualized/
- http://0.0.0.0:5000/en/coreos/download/cloud_operators/

Additional minor change:
- Renamed all variable name cloud_operator -> cloud_operators to be consistent with the routing.

cc @dustymabe @codeblock @bcotton

LGTM but I really don't know js so would like someone more familiar to review if possible.

@abai looks like your branch is out-of-date. Can you please rebase it? I'll try to take a look at this tomorrow.

rebased onto c94520be139b4e6e39b4a8c6778ee3182821b570

Rebased :thumbsup:

Pull-Request has been merged by bcotton

Metadata