File tree Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 77 {{ #unless this.showNotFoundError }}
88 <DPageSubheader
99 @titleLabel ={{ this.model.title }}
10+ @titleUrl ={{ this.model.reportUrl }}
1011 @descriptionLabel ={{ this.model.description }}
1112 @learnMoreUrl ={{ this.model.description_link }}
1213 />
Original file line number Diff line number Diff line change @@ -21,7 +21,15 @@ export default class DPageSubheader extends Component {
2121 <template >
2222 <div class =" d-page-subheader" >
2323 <div class =" d-page-subheader__title-row" >
24- <h2 class =" d-page-subheader__title" >{{@ titleLabel }} </h2 >
24+ <h2 class =" d-page-subheader__title" >
25+ {{#if @ titleUrl }}
26+ <a href ={{@ titleUrl }} class =" d-page-subheader__title-link" >
27+ {{@ titleLabel }}
28+ </a >
29+ {{else }}
30+ {{@ titleLabel }}
31+ {{/if }}
32+ </h2 >
2533 {{#if ( has-block " actions" ) }}
2634 <div class =" d-page-subheader__actions" >
2735 {{#if this . site.mobileView }}
Original file line number Diff line number Diff line change 186186 }
187187 }
188188 }
189+
190+ .d-page-subheader__title a {
191+ color : var (--primary );
192+ }
189193}
190194
191195.rtl .admin-report {
Original file line number Diff line number Diff line change 150150 & .site-traffic {
151151 grid-column : span 12 ;
152152 }
153+
154+ .header {
155+ display : grid ;
156+ grid-template-areas : " title trend" " description description" ;
157+ grid-template-columns : auto 1fr ;
158+
159+ .d-page-subheader {
160+ display : contents ;
161+ }
162+
163+ .d-page-subheader__description {
164+ grid-area : description;
165+ margin-top : 0 ;
166+ }
167+
168+ .trend {
169+ grid-area : trend;
170+ white-space : nowrap ;
171+ align-self : start ;
172+ }
173+ }
153174 }
154175
155176 @include breakpoint (medium ) {
You can’t perform that action at this time.
0 commit comments