UI Landing: Link icon, text and Explore button to project_explore_url.
To be replaced with the actual 'explore' endpoint.
This commit is contained in:
@@ -99,6 +99,8 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
|
|||||||
| {% set project_header = project.picture_header.thumbnail('h', api=api) %}
|
| {% set project_header = project.picture_header.thumbnail('h', api=api) %}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
|
| {% set project_explore_url = url_for('projects.view', project_url=project.url) %}
|
||||||
|
|
||||||
.jumbotron.text-white.jumbotron-overlay-gradient-fade-to-gray(
|
.jumbotron.text-white.jumbotron-overlay-gradient-fade-to-gray(
|
||||||
style="background-image: url(\'{{ project_header }}\');")
|
style="background-image: url(\'{{ project_header }}\');")
|
||||||
.container
|
.container
|
||||||
@@ -106,9 +108,11 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
|
|||||||
.col-md-6
|
.col-md-6
|
||||||
.display-4.text-uppercase.font-weight-bold
|
.display-4.text-uppercase.font-weight-bold
|
||||||
| {% if project.extension_props.cloud.logo %}
|
| {% if project.extension_props.cloud.logo %}
|
||||||
img.img-fluid(src="{{ project.extension_props.cloud.logo.thumbnail('m', api=api) }}")
|
a(href="{{ project_explore_url }}")
|
||||||
|
img.img-fluid(src="{{ project.extension_props.cloud.logo.thumbnail('m', api=api) }}")
|
||||||
| {% else %}
|
| {% else %}
|
||||||
| {{ project.name }}
|
a.text-white(href="{{ project_explore_url }}")
|
||||||
|
| {{ project.name }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
.lead.pt-3
|
.lead.pt-3
|
||||||
@@ -126,7 +130,7 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
|
|||||||
| WATCH
|
| WATCH
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
a.btn.btn-link.px-5.text-white(href="{{ url_for('projects.view', project_url=project.url) }}")
|
a.btn.btn-link.px-5.text-white(href="{{ project_explore_url }}")
|
||||||
| Explore
|
| Explore
|
||||||
i.pi-angle-right.pl-2
|
i.pi-angle-right.pl-2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user