Skip to content

Commit

Permalink
Merge pull request #18 from Jagordon/master
Browse files Browse the repository at this point in the history
DDCNFF-895 Made AttorneyBanner Responsive
  • Loading branch information
Petr Nejedly committed Jul 1, 2015
2 parents 2090202 + bf408ee commit 4e040ab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/messages
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ common.signOut=Sign out

report.a.problem.link = Get help with this page.


# Attorney Banner
attorney.banner.user = This is <span class="heading-small">{0}</span>''s HMRC account
attorney.banner.link = Return to your own account

attorney.banner.link = Return to your own account
attorney.banner.user = You''re in <span class="heading-small">{0}</span> tax account.
attorney.banner.nan = name not defined
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@
*@
@(name: Option[String], returnLinkUrl : String, returnLinkText: String)

<div id="heightHolder">
<div class="attorneyBanner" id="attorneyBanner" data-focuses="attorneyBanner">
<p class="attorneyPara">
@Html(Messages("attorney.banner.user", name.getOrElse("Name Not Defined").toLowerCase.split(" ").map(_.toLowerCase.capitalize).mkString(" ")))
<a href="@returnLinkUrl" class="banner-links">@returnLinkText</a></p>
<div class=" grid-wrapper attorneyContainer">
<div class="attorneyBanner grid" id="attorneyBanner">
<div class="grid grid-2-3">
<div class="inner-block">
@Html(Messages("attorney.banner.user", name.getOrElse(Messages("attorney.banner.nan"))))
</div>
</div>
<div class="grid grid-1-3">
<div class="inner-block">
<a href="@returnLinkUrl" class="banner-links">@returnLinkText</a>
</div>
</div>
</div>
</div>


0 comments on commit 4e040ab

Please sign in to comment.