Skip to content

Commit

Permalink
Merge pull request #78 from IABTechLab/ans-UID2-4256-add-report-vulne…
Browse files Browse the repository at this point in the history
…rability-tc-portal

Add report vulnerability link to tc portal
  • Loading branch information
ashleysmithTTD authored Oct 18, 2024
2 parents 623c00c + bbcc50a commit 18920f7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
3 changes: 2 additions & 1 deletion public/locales_euid/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
"euid-we-have-received-your-request": "We have received your request to opt out and will begin processing it shortly.",
"Email Address": "Email Address",
"euid-for-more-information": "For more information on how the Trade Desk manages EUID and your rights with respect to EUID, please read the",
"euid-privacy-notice": "EUID Privacy Notice"
"euid-privacy-notice": "EUID Privacy Notice",
"Report-vulnerability": "Report a Vulnerability"
}
3 changes: 2 additions & 1 deletion public/locales_uid2/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"Email Address": "Email Address",
"Phone Number": "Phone Number",
"For-example": "For example: ",
"Privacy-policy": "Privacy Policy"
"Privacy-policy": "Privacy Policy",
"Report-vulnerability": "Report a Vulnerability"
}
3 changes: 2 additions & 1 deletion public/locales_uid2/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"Email Address": "メールアドレス",
"Phone Number": "電話番号",
"For-example": "例: ",
"Privacy-policy": "プライバシーポリシー"
"Privacy-policy": "プライバシーポリシー",
"Report-vulnerability": "脆弱性の報告"
}
10 changes: 9 additions & 1 deletion public/stylesheets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,21 @@
border-left: none;
}

.form__privacy-link {
.privacy-link {
color: green;
display: flex;
justify-content: center;
padding-top: 20px;
}

.vulnerability-link {
color: gray;
display: flex;
justify-content: center;
padding-top: 20px;
font-size: 12px;
}

.error {
color: red;
margin-top: 0;
Expand Down
1 change: 1 addition & 0 deletions views_euid/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
{{__ "euid-for-more-information" }}
<a href='/privacy'>{{__ 'euid-privacy-notice'}}</a>.
</p>
<a target="_blank" href="https://www.thetradedesk.com/us/trust/report-a-vulnerability" class="vulnerability-link">{{__ 'Report-vulnerability'}}</a>
<script>
const form = document.getElementById("email_prompt");
form.addEventListener("submit", onSubmit); function onSubmit(e) {
Expand Down
3 changes: 2 additions & 1 deletion views_uid2/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@
<button class="form__next-button">
{{__ "NEXT"}}
</button>
<a target="_blank" href="https://www.thetradedesk.com/us/website-privacy-policy" class="form__privacy-link">{{__ 'Privacy-policy'}}</a>
</form>
<a target="_blank" href="https://www.thetradedesk.com/us/website-privacy-policy" class="privacy-link">{{__ 'Privacy-policy'}}</a>
<a target="_blank" href="https://www.thetradedesk.com/us/trust/report-a-vulnerability" class="vulnerability-link">{{__ 'Report-vulnerability'}}</a>
<script>
function handleIdTypeClick(idType) {
if (idType.value === "email") {
Expand Down

0 comments on commit 18920f7

Please sign in to comment.