Commit eae8cb79 authored by Liam's avatar Liam Committed by Rebecca Blundell

Bug 1765276: Chnaged card-heading to card-header in a bunch of places

behatnotneeded

Change-Id: I5885885960bd42737bbed4d8b16e664840706e9b
parent 8f39182d
{include file="header.tpl"}
<div class="card card bg-danger text-white view-description">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
<p>{$message}</p>
{$form|safe}
......
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
{$deleteform|safe}
</div>
......
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
{$deleteform|safe}
</div>
......
......@@ -681,3 +681,8 @@ a[type="submit"],
margin-left: 5px;
}
}
// Removes weird text node between buttons on admin/users/suspended.php
.pieform-fieldset.btn-group {
font-size: 0;
}
......@@ -6,18 +6,18 @@
border-color: transparent;
}
.admin & {
// border-color: $card-border-color; // TODO: This might affect other things elsewhere
border-color: $card-border-color; // TODO: This might affect other things elsewhere
}
> .card-heading {
> .card-header {
font-family: $font-family-serif;
}
&.blockinstance.card {
background-color: transparent;
.card-heading {
.card-header {
background-color: $card-heading-bg;
}
}
> .card-heading, .card-heading-nested {
> .card-header, .card-heading-nested {
border-bottom: 2px solid $card-border-color;
padding: 10px 8px;
......@@ -35,7 +35,7 @@
}
}
&.card-warning {
> .card-heading, .card-heading-nested {
> .card-header, .card-heading-nested {
border-left: 4px solid $card-block-border;
background-color: $card-warning-heading-bg;
border-bottom: 1px solid $card-warning-border;
......
......@@ -31,7 +31,7 @@
@import "../layout/card/card-form";
@import "../layout/card/card-half";
@import "../layout/card/card-quarter";
@import "../layout/card/card-heading";
@import "../layout/card/card-header";
@import "../layout/card/card-items"; // groups of cards
@import "../layout/card/card-block";
@import "../layout/card/card-colors";
......
{include file="header.tpl"}
<div id="cancelrequest" class="card card bg-danger text-white view-container">
<h2 class="card-heading">{str tag=canceldeletionrequest section=account}</h2>
<h2 class="card-header">{str tag=canceldeletionrequest section=account}</h2>
<div class="card-body">
<p>{str tag=canceldeletionrequestconfirmation section=account arg1=$userdisplayname}</p>
{$cancelrequestform|safe}
......
{include file="header.tpl"}
<div id="deleteaccount" class="card card bg-danger text-white view-container">
<h2 class="card-heading">{str tag=deleteaccount1}</h2>
<h2 class="card-header">{str tag=deleteaccount1}</h2>
<div class="card-body">
{if $requiresapproval}
<p>{str tag=sendnotificationdescription section=account}</p>
......
{include file="header.tpl"}
<div id="resendnotification" class="card card bg-danger text-white view-container">
<h2 class="card-heading">{str tag=resenddeletionnotification section=account}</h2>
<h2 class="card-header">{str tag=resenddeletionnotification section=account}</h2>
<div class="card-body">
<p>{str tag=sendnotificationdescription section=account}</p>
{$delete_form|safe}
......
......@@ -10,7 +10,7 @@
{if $delete_form}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{str tag="deleteinstitution" section="admin"}</h2>
<h2 class="card-header">{str tag="deleteinstitution" section="admin"}</h2>
<div class="card-body">
<p><strong>{$institutionname}</strong></p>
<p>{str tag="deleteinstitutionconfirm" section="admin"}</p>
......
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
<p>{$message}</p>
{$form|safe}
</div>
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
<p>{$message}</p>
{$form|safe}
......@@ -9,4 +9,3 @@
</div>
{include file="footer.tpl"}
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
{if $landingpagenote}<p class="lead">{$landingpagenote}</p>{/if}
<p>{$message}</p>
......
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">{$subheading}</h2>
<h2 class="card-header">{$subheading}</h2>
<div class="card-body">
<p>{$safemessage|clean_html|safe}</p>
{$form|safe}
......
{include file="header.tpl"}
<div class="card card bg-danger text-white view-container">
<h2 class="card-heading">
<h2 class="card-header">
{str tag="deleteviewconfirm1" section="view"}
</h2>
<div class="card-body">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment