Skip to content

Commit

Permalink
✨ : show main provider logo on module description page
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Jan 29, 2020
1 parent 5517dde commit a9bca8e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions src/main/resources/templates/module_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="col-md-8">
<div class="row">
<div class="col-md-2">
<img :src="'/images/' + mainProvider + '.png'" :alt="mainProvider"/>
<img :src="'/images/providers/' + mainProvider + '.png'" :alt="mainProvider"/>
</div>
<div class="col-md-10">
<h1>
Expand Down Expand Up @@ -107,9 +107,6 @@ <h1>

$.get(`/api/modules/${moduleId}`)
.then(data => {
// START FIXME: link with real data once implemented in the model
data.mainProvider = 'aws';
// END FIXME
new Vue({
el: "#app",
data,
Expand Down

0 comments on commit a9bca8e

Please sign in to comment.