Skip to content

Commit

Permalink
✨ : do not show unnecessary fields
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Jan 25, 2020
1 parent e0434e9 commit 9474f90
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/main/resources/templates/module_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ <h1>
<div class="metadata">
<p>Published <b>{{createdAt | dateTime}}</b> by <a href="#">{{createdBy.username}}</a></p>
<p v-if="updatedAt">Last modified <b>{{updatedAt | dateTime}}</b> by <a href="#">{{updatedBy.username}}</a></p>
<p>Module managed by <a href="#">{{owner}}</a></p>
<p>Total stacks: <a href="#">{{nbStacks}}</a></p>
<p>Source: <a :href="gitRepositoryUrl">{{gitRepositoryUrl}}</a></p>
<p>Estimated monthly cost: {{estimatedMonthlyCost}} US $</p>
<p v-if="estimatedMonthlyCost">Estimated monthly cost: ${{estimatedMonthlyCost}}</p>
</div>
</div>
</div>
Expand All @@ -76,7 +74,7 @@ <h1>
</template>
<readme :module-id="id"></readme>
</b-tab>
<b-tab>
<b-tab v-if="estimatedMonthlyCostDescription">
<template slot="title">
<i class="fab fa-markdown"></i> Cost Of Ownership
</template>
Expand Down Expand Up @@ -110,8 +108,6 @@ <h1>
.then(data => {
// START FIXME: link with real data once implemented in the model
data.mainProvider = 'aws';
data.owner = 'Ze Team';
data.nbStacks = 10;
// END FIXME
new Vue({
el: "#app",
Expand Down

0 comments on commit 9474f90

Please sign in to comment.