Skip to content

Commit

Permalink
Merge pull request #2264 from rhamilto/issue-484
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Adding default message if no description is provided

Fixes openshift/origin-web-catalog#484
  • Loading branch information
openshift-merge-robot committed Oct 13, 2017
2 parents dc42390 + d5d975c commit 9930f0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/directives/from-file-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</div>
</div>
<div class="order-service-description-block">
<p ng-bind-html="$ctrl.template | description | linky : '_blank'" class="description"></p>
<p ng-bind-html="($ctrl.template | description | linky : '_blank') || 'No description provided.'" class="description"></p>
</div>
</div>
<div class="order-service-config">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
</div>
</div>
<div class="order-service-description-block">
<p ng-bind-html="$ctrl.template | description | linky : '_blank'" class="description"></p>
<p ng-bind-html="($ctrl.template | description | linky : '_blank') || 'No description provided.'" class="description"></p>
</div>
</div>
4 changes: 2 additions & 2 deletions dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -7057,7 +7057,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"</div>\n" +
"</div>\n" +
"<div class=\"order-service-description-block\">\n" +
"<p ng-bind-html=\"$ctrl.template | description | linky : '_blank'\" class=\"description\"></p>\n" +
"<p ng-bind-html=\"($ctrl.template | description | linky : '_blank') || 'No description provided.'\" class=\"description\"></p>\n" +
"</div>\n" +
"</div>\n" +
"<div class=\"order-service-config\">\n" +
Expand Down Expand Up @@ -8897,7 +8897,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"</div>\n" +
"</div>\n" +
"<div class=\"order-service-description-block\">\n" +
"<p ng-bind-html=\"$ctrl.template | description | linky : '_blank'\" class=\"description\"></p>\n" +
"<p ng-bind-html=\"($ctrl.template | description | linky : '_blank') || 'No description provided.'\" class=\"description\"></p>\n" +
"</div>\n" +
"</div>"
);
Expand Down

0 comments on commit 9930f0c

Please sign in to comment.