x x x
x

Your personal data will be processed by Amazon Web Services EMEA SARL ("AWS Europe"). Please see Privacy Notice at https://aws.amazon.com/privacy. The local data controller representative for AWS EMEA is DataRegistrar Danışmanlık Hizmetleri Anonim Şirketi. For more information email awsedstart-emea@amazon.com. By pressing accept, you agree that your personal data may be processed by AWS Europe and any personal data you provide may be transferred outside your country and to affiliates of the processing entity in accordance with the AWS Privacy Notice.

The following translation is for informational purposes only. In the event of a discrepancy, inconsistency, or conflict between this translation and the English version (in particular due to delays in translation), the English version will prevail.

Kişisel verileriniz, Amazon Web Services EMEA SARL ("AWS Europe") tarafından işlenecektir. Lütfen https://aws.amazon.com/privacy adresindeki Gizlilik Bildirimini inceleyiniz. AWS EMEA'nın lokal veri sorumlusu temsilcisi DataRegistrar Danışmanlık Hizmetleri Anonim Şirketi'dir. Daha fazla bilgi için awsedstart-emea@amazon.com adresine e-posta gönderiniz. [Bu kutuyu işaretleyerek], kişisel verilerinizin AWS Europe tarafından işlenebileceğini ve sağladığınız kişisel verilerin AWS Gizlilik Bildirimi uyarınca yurt dışına ve işleyen şirketin bağlı şirketlerine aktarılabileceğini kabul etmiş olursunuz.

Bu çeviri yalnızca bilgi amaçlıdır. Bu çeviri ile İngilizce metin arasında (özellikle çevirideki gecikmeler nedeniyle) bir farklılık, tutarsızlık veya çelişki olması durumunda İngilizce metin geçerli olacaktır.

Decline

Versions Compared

Key

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

...

HTML
<script>
if (!(AJS.params.isConfluenceAdmin)) {
   $('.aui-button.aui-style-default.aui-dropdown2-trigger').hide()
}

/* prompt users when they leave the form */
var unsaved = false;
$('#i_confiform_registration_form').submit(function(){
  window.onbeforeunload = null
})
$(":input").change(function(){ //triggers change in all input fields including text type
    unsaved = true;
});

function unloadPage(){ 
    if(unsaved){
        return "hello";
    }
}
window.onbeforeunload = unloadPage;

document.getElementById('i_email').value = AJS.params.remoteUser;
document.getElementById('i_fullName').value = AJS.params.currentUserFullname;

console.log('display name', '$action.remoteUser.fullName');

  jQuery.ajax({
    url: "/rest/cup/1.0/profile/" + AJS.params.remoteUser,
    type: "get",
    dataType: 'json',
    async: false,
    success: function (data1) {
      var userCompany = data1["confluence.department"];
      if(userCompany){
        jQuery.ajax({
          url: "/rest/api/user?username=" + userCompany,
          type: "get",
          dataType: 'json',
          async: false,
          success: function (data2) {
            if(data2["displayName"]){
              document.getElementById('i_companyName').value = data2["displayName"];
            } else {
              document.getElementById('i_companyName').value = "Company not defined.";
            }
          }
        });
      } else {
        document.getElementById('i_companyName').value = "Company not defined.";
      }
    }
  });

document.getElementById('i_email').value = AJS.params.remoteUser;
document.getElementById('i_fullName').value = AJS.params.currentUserFullname;

console.log('display name', '$action.remoteUser.fullName');

  jQuery.ajax({
    url: "/rest/cup/1.0/profile/" + AJS.params.remoteUser,
    type: "get",
    dataType: 'json',
    async: false,
    success: function (data1) {
      console.log("made first call");
      var userCompany = data1["confluence.department"];
      if(userCompany){
        jQuery.ajax({
          url: "/rest/cup/1.0/profile/" + userCompany,
          type: "get",
          dataType: 'json',
          async: false,
          success: function (data2) {
            console.log("made  second call");
            if(data2["cup.field-37"]){
              document.getElementById('i_regionalEmail').value = data2["cup.field-37"];
            } else {
              document.getElementById('i_regionalEmail').value = "awsedstart@amazon.com";
            }
          }
        });
      } else {
        document.getElementById('i_regionalEmail').value = "awsedstart@amazon.com";
      }
    }
  });



</script>

<style>
.cf_textarea {
    max-width: 800px !important;
}
</style>



Show If
special@anonymous


HTML
<style>

div.cookieBanner {
background: #1b253d;
height: 220px;
display: flex;
align-items: center;
position: absolute;
bottom: 0;
width: 100%;
}

.cookieBanner .body-container {
font-family: var(--main-font-family);
font-size: 16px;
}

div.innerCookie {
    width: 90%;
    margin: auto;
}

.cookieBanner .general-text-container {
    padding: 0;
    width: 95%;
}


.innerCookie p.auto-cursor-target {
    height: 0;
    padding: 0;
    margin: 0;
}

button.my-button.acceptCookies {
    width: 360px;
    height: 45px;
    border: none;
    color: var(--cb-font);
    border: 1px solid var(--cb-outline);
    font-size: 18px;
    background-color: var(--cb-fill);
	outline: none;
}

button.my-button.acceptCookies:hover {
    cursor: pointer;
}
</style>

<script>
function checkCookieAcceptance() {
  // If User Has Accepted Cookies
  if(getCookie("acceptedCookies") != "") {
    // Show Login
    $(".loginUI").removeClass("hidden");
  } else {
    // Show Cookie Acceptance Prompt
    $(".cookieBanner").removeClass("hidden");
  }
}

  function acceptCookies() {
    console.log("Accept Cookies Button Clicked");
    // Set 1 Year Aged Cookie to Store User's Response to Cookie Prompt
    setCookie("acceptedCookies", "allCookies", "31536000");
    //Hide Cookie Acceptance Prompt
    $(".cookieBanner").addClass("hidden");
    // Show Login
    $(".loginUI").removeClass("hidden");
  }
</script>


Custom section
ClasscookieBanner hidden


Custom section
ClassinnerCookie


General description

We use cookies to improve your experience. Select "Accept all" to agree to the use of cookies on your device to enhance site navigation, analyze usage, and assist in our marketing efforts. Our cookies are essential and our website cannot run without them. 


HTML
<button class="my-button acceptCookies" onclick="acceptCookies();" style="background:var(--s-label-fill);color:white;">Accept All</button>





HTML
<script>
checkCookieAcceptance();
</script>