Skip to content

Commit

Permalink
Merge pull request #94 from alphagov/launch-govuk
Browse files Browse the repository at this point in the history
Launch GOV.UK
  • Loading branch information
jystewart committed Oct 16, 2012
2 parents 6829584 + bfdd6b9 commit 83247f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 5 additions & 3 deletions app/assets/javascripts/welcome.js
Expand Up @@ -91,9 +91,11 @@ $(function() {
} }


function showPopup() { function showPopup() {
if (getUrlVar('nopopup') != "true") { if(onDesignPrinciples()) {
if(getCookie(activeCookieName()) != "dismiss"){ if (getUrlVar('nopopup') != "true") {
BetaPopup.popup(popupCopy(), "welcome-tour"); if(getCookie(activeCookieName()) != "dismiss"){
BetaPopup.popup(popupCopy(), "welcome-tour");
}
} }
} }
} }
Expand Down
8 changes: 2 additions & 6 deletions app/views/root/_base.html.erb
Expand Up @@ -5,7 +5,7 @@
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />


<title><%= content_for?(:title) ? yield(:title) : "GOV.UK - This is a trial ‘beta’ version of the UK government's official website" %></title> <title><%= content_for?(:title) ? yield(:title) : "GOV.UK - The best place to find government services and information" %></title>


<!--[if gt IE 8]><!--><%= stylesheet_link_tag local_assigns[:css_file] || 'application' %><!--<![endif]--> <!--[if gt IE 8]><!--><%= stylesheet_link_tag local_assigns[:css_file] || 'application' %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag local_assigns[:css_file] || 'application-ie6' %><![endif]--> <!--[if IE 6]><%= stylesheet_link_tag local_assigns[:css_file] || 'application-ie6' %><![endif]-->
Expand Down Expand Up @@ -47,7 +47,7 @@


<header role="banner" class="group" id="global-header"> <header role="banner" class="group" id="global-header">
<div class="header-wrapper group"> <div class="header-wrapper group">
<a href="/" title="Go to the gov.uk homepage" id="logo"><img src="<%= asset_path 'gov.uk_logotype_beta.png' %>" alt="GOV.UK Logo"></a> <a href="/" title="Go to the gov.uk homepage" id="logo"><img src="<%= asset_path 'gov.uk_logotype.png' %>" alt="GOV.UK Logo"></a>


<a href="#search" class="button search-toggle">Search</a> <a href="#search" class="button search-toggle">Search</a>


Expand Down Expand Up @@ -84,10 +84,6 @@


<footer class="group" id="footer" role="contentinfo"> <footer class="group" id="footer" role="contentinfo">


<div class="beta-notice">
<p>This is a <a href="http://digital.cabinetoffice.gov.uk/2012/01/31/beta/">test website</a>, so may be inaccurate or misleading. The official websites remain <a href="http://www.direct.gov.uk">Directgov</a>, <a href="http://www.businesslink.gov.uk/">Business Link</a>, and the website of the <a href="http://www.cabinetoffice.gov.uk/content/list-government-departments-and-ministers">relevant government department or organisation</a></p>
</div>

<div class="footer-wrapper"> <div class="footer-wrapper">
<nav class="footer-categories"> <nav class="footer-categories">
<h2>Explore GOV.UK</h2> <h2>Explore GOV.UK</h2>
Expand Down

0 comments on commit 83247f2

Please sign in to comment.