Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add formatting (Button) Notification Template

Iqbal Mann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2022

Hi,

I want to change plain hyperlink to a button.

From this:

 

Capture.JPG

to this:

Capture.JPG

1 answer

1 accepted

1 vote
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
April 7, 2022

Hi @Iqbal Mann 

You can modify your e-mail templates. To do so go to Project Settings -> Customer notifications -> Edit templates 

chrome_9A5MecoLT0.png

Then in CSS tab add at the bottom:

.myButton {
background-color:#ff8c00;
display:inline-block;
cursor:pointer;
font-family:Arial;
font-size:10px;
color:#ffffff;
text-decoration:none;
padding:6px 24px;
}

and in HTML tab change following lines from:

<p>
<a class="jsd-issue-link" href="${request.url}">View request</a>
<span class="jsd-link-separator">&middot;</span>
<a class="jsd-unsubscribe-link" href="${request.disable.notifications.url}">Turn off this request's notifications</a>
</p>

to:

<p>
<a class="myButton" href="${request.url}">View this request</a>
<span class="jsd-link-separator">&middot;</span>
<a class="myButton" href="${request.disable.notifications.url}">Turn off notifications</a>
</p>

After making the changes don't forget to save them.

Best regards,

Piotr

Iqbal Mann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2022

Yes.

This worked. Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events