Skip to content

Commit

Permalink
Show creation timestamp in binding delete dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
spadgett committed Sep 15, 2017
1 parent f2945e1 commit 8282dcf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ <h3 class="mar-top-none">
{{appForBinding.metadata.name}} <small class="text-muted">&ndash; {{ appForBinding.kind | humanizeKind : true}}</small>
</div>
<div ng-if="!(ctrl.appsForBinding(binding.metadata.name) | size)">
{{binding.spec.secretName}} <small class="text-muted">&ndash; Secret</small>
{{binding.spec.secretName}}
<small class="text-muted">&ndash; Secret</small>
</div>
<div>
<small class="text-muted">Created <span am-time-ago="binding.metadata.creationTimestamp"></span></small>
</div>
</label>
</div>
Expand Down
6 changes: 5 additions & 1 deletion dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -5759,7 +5759,11 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"{{appForBinding.metadata.name}} <small class=\"text-muted\">&ndash; {{ appForBinding.kind | humanizeKind : true}}</small>\n" +
"</div>\n" +
"<div ng-if=\"!(ctrl.appsForBinding(binding.metadata.name) | size)\">\n" +
"{{binding.spec.secretName}} <small class=\"text-muted\">&ndash; Secret</small>\n" +
"{{binding.spec.secretName}}\n" +
"<small class=\"text-muted\">&ndash; Secret</small>\n" +
"</div>\n" +
"<div>\n" +
"<small class=\"text-muted\">Created <span am-time-ago=\"binding.metadata.creationTimestamp\"></span></small>\n" +
"</div>\n" +
"</label>\n" +
"</div>\n" +
Expand Down

0 comments on commit 8282dcf

Please sign in to comment.