x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Show If
special@authenticated


Hide If
groupconfluence-administrators


HTML
<script>
// Endpoint checks if authenticated user is part of smith group otherwise add and send email
jQuery.ajax({
  url: "/rest/scriptrunner/latest/custom/smithAutoMemberShip",
  headers: {
    'X-Atlassian-Token' : 'nocheck',
    'Content-type' : 'application/json'
  },
  type: "POST",
  dataType: 'text',
  data: JSON.stringify({
    
    "email": AJS.params.remoteUser,
	  
  }),
  success: function(text){
    //console.log("Response: "+ text)
	window.location.replace("/site/sdc");
  },
  error: function(err){
    //alert(err)
	window.location.replace("https://passport.theonevalley.com/");
  }
});

</script>




Custom section
ClasssignContainer

Sign up form generic
Destination/display/MS/Home
TCLink/display/SR/Competition+Rules
BackgroundImagehttp://gsvlabs-confluence-files.s3-us-west-2.amazonaws.com/images/SMITH/background.jpg
PPLinkhttp://support.theonevalley.com/en/articles/2546657-privacy-policy
LoginLink/display/MSA/Login
SiteKeySmith Competition
EndpointUrl/rest/scriptrunner/latest/custom/smithSignUp
WelcomeMessageSign Up

Custom section
ClassbigImageContainer





HTML
<style>

div#custom-footer {
    display: none;
}
.main-container {
    min-height: calc(100vh - 50px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
div#toggle {
    display: none;
}

</style>

...