Merge pull request #6399 from opf/fix/27937-27938-bugs-wp-full-view

Fix breadcrumb alignment && add spaces in WP info row
pull/6400/head
Henriette Dinger 6 years ago committed by GitHub
commit 88f8818423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/assets/stylesheets/layout/_breadcrumb.sass
  2. 4
      frontend/src/app/components/work-packages/wp-single-view/wp-single-view.html
  3. 2
      frontend/src/app/modules/common/date/op-date-time.component.ts

@ -93,7 +93,6 @@ ul.breadcrumb
.wp-breadcrumb .wp-breadcrumb
margin-top: 10px margin-top: 10px
margin-left: -10px
height: initial height: initial
ul.breadcrumb ul.breadcrumb
height: initial height: initial

@ -19,9 +19,13 @@
*ngIf="!workPackage.isNew"> *ngIf="!workPackage.isNew">
<span [textContent]="idLabel"></span>: <span [textContent]="idLabel"></span>:
<span [textContent]="text.infoRow.createdBy"></span> <span [textContent]="text.infoRow.createdBy"></span>
<!-- The space has to be in an extra span
because otherwise the browser would add a second space after it -->
<span>&nbsp;</span>
<user-link class="user-link" <user-link class="user-link"
[user]="workPackage.author"></user-link>. [user]="workPackage.author"></user-link>.
<span [textContent]="text.infoRow.lastUpdatedOn"></span> <span [textContent]="text.infoRow.lastUpdatedOn"></span>
<span>&nbsp;</span>
<op-date-time [dateTimeValue]="workPackage.updatedAt"></op-date-time>. <op-date-time [dateTimeValue]="workPackage.updatedAt"></op-date-time>.
</div> </div>

@ -35,7 +35,7 @@ import {TimezoneService} from 'core-components/datetime/timezone.service';
<span title="{{date}} {{ time }}"> <span title="{{date}} {{ time }}">
<span [textContent]="date"></span> <span [textContent]="date"></span>
<span [textContent]="time"></span> <span [textContent]="time"></span>
</span>' </span>
` `
}) })
export class OpDateTimeComponent { export class OpDateTimeComponent {

Loading…
Cancel
Save