Skip to content

Commit ac7501d

Browse files
Merge pull request #2353 from rhamilto/issue-2352
Automatic merge from submit-queue. Center-align "Back to..." link on attach pvc page Fixes #2352 <img width="1122" alt="screen shot 2017-10-23 at 4 29 17 pm" src="https://user-images.githubusercontent.com/895728/31911787-ce27bfda-b80f-11e7-8218-8ed8ef4c1cf6.PNG">
2 parents 46ef35b + 55e5190 commit ac7501d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

app/views/attach-pvc.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<breadcrumbs breadcrumbs="breadcrumbs"></breadcrumbs>
77
<div ng-show="!pvcs || !attach.resource">Loading...</div>
88

9-
<div ng-show="pvcs && !pvcs.length && attach.resource" class="empty-state-message empty-state-full-page">
10-
<h2 class="text-center">No persistent volume claims.</h2>
9+
<div ng-show="pvcs && !pvcs.length && attach.resource" class="empty-state-message empty-state-full-page text-center">
10+
<h2>No persistent volume claims.</h2>
1111

12-
<p class="gutter-top">
12+
<p>
1313
A <b>persistent volume claim</b> is required to attach to this {{kind | humanizeKind}},
1414
but none are loaded on this project.
1515
</p>
1616

17-
<div ng-if="project && (pvcVersion | canI : 'create')" class="text-center">
17+
<div ng-if="project && (pvcVersion | canI : 'create')">
1818
<a ng-href="project/{{project.metadata.name}}/create-pvc"
1919
class="btn btn-primary">Create Storage</a>
2020
</div>

dist/scripts/templates.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -935,12 +935,12 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
935935
"<div class=\"col-md-10\">\n" +
936936
"<breadcrumbs breadcrumbs=\"breadcrumbs\"></breadcrumbs>\n" +
937937
"<div ng-show=\"!pvcs || !attach.resource\">Loading...</div>\n" +
938-
"<div ng-show=\"pvcs && !pvcs.length && attach.resource\" class=\"empty-state-message empty-state-full-page\">\n" +
939-
"<h2 class=\"text-center\">No persistent volume claims.</h2>\n" +
940-
"<p class=\"gutter-top\">\n" +
938+
"<div ng-show=\"pvcs && !pvcs.length && attach.resource\" class=\"empty-state-message empty-state-full-page text-center\">\n" +
939+
"<h2>No persistent volume claims.</h2>\n" +
940+
"<p>\n" +
941941
"A <b>persistent volume claim</b> is required to attach to this {{kind | humanizeKind}}, but none are loaded on this project.\n" +
942942
"</p>\n" +
943-
"<div ng-if=\"project && (pvcVersion | canI : 'create')\" class=\"text-center\">\n" +
943+
"<div ng-if=\"project && (pvcVersion | canI : 'create')\">\n" +
944944
"<a ng-href=\"project/{{project.metadata.name}}/create-pvc\" class=\"btn btn-primary\">Create Storage</a>\n" +
945945
"</div>\n" +
946946
"<p ng-if=\"project && !(pvcVersion | canI : 'create')\">\n" +

0 commit comments

Comments
 (0)