Skip to content

Commit de1439a

Browse files
rhamiltof0x11
authored andcommitted
Center-align "Back to..." link on attach pic page
Fixes openshift#2352
1 parent 52c7163 commit de1439a

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

app/views/attach-pvc.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<breadcrumbs breadcrumbs="breadcrumbs"></breadcrumbs>
77
<div ng-show="!pvcs || !attach.resource" translate>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" translate>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 translate>No persistent volume claims.</h2>
1111

12-
<p class="gutter-top">
13-
<translate>A <b>persistent volume claim</b> is required to attach to this {{kind | humanizeKind}},
14-
but none are loaded on this project.</translate>
12+
<p>
13+
A <b translate>persistent volume claim</b> is required to attach to this {{kind | humanizeKind}},
14+
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" translate>Create Storage</a>
2020
</div>

dist/scripts/templates.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -954,13 +954,21 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
954954
"<div class=\"row\">\n" +
955955
"<div class=\"col-md-10\">\n" +
956956
"<breadcrumbs breadcrumbs=\"breadcrumbs\"></breadcrumbs>\n" +
957+
<<<<<<< 36f318b9f9f535b097ce4ce011fd6f453808169a
957958
"<div ng-show=\"!pvcs || !attach.resource\" translate>Loading...</div>\n" +
958959
"<div ng-show=\"pvcs && !pvcs.length && attach.resource\" class=\"empty-state-message empty-state-full-page\">\n" +
959960
"<h2 class=\"text-center\" translate>No persistent volume claims.</h2>\n" +
960961
"<p class=\"gutter-top\">\n" +
961962
"<translate>A <b>persistent volume claim</b> is required to attach to this</translate> {{kind | humanizeKind | translate}}, <translate>but none are loaded on this project.</translate>\n" +
963+
=======
964+
"<div ng-show=\"!pvcs || !attach.resource\">Loading...</div>\n" +
965+
"<div ng-show=\"pvcs && !pvcs.length && attach.resource\" class=\"empty-state-message empty-state-full-page text-center\">\n" +
966+
"<h2>No persistent volume claims.</h2>\n" +
967+
"<p>\n" +
968+
"A <b>persistent volume claim</b> is required to attach to this {{kind | humanizeKind}}, but none are loaded on this project.\n" +
969+
>>>>>>> Center-align "Back to..." link on attach pic page
962970
"</p>\n" +
963-
"<div ng-if=\"project && (pvcVersion | canI : 'create')\" class=\"text-center\">\n" +
971+
"<div ng-if=\"project && (pvcVersion | canI : 'create')\">\n" +
964972
"<a ng-href=\"project/{{project.metadata.name}}/create-pvc\" class=\"btn btn-primary\">Create Storage</a>\n" +
965973
"</div>\n" +
966974
"<p ng-if=\"project && !(pvcVersion | canI : 'create')\">\n" +

0 commit comments

Comments
 (0)