Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail Buttons not shown in LotusNotes #10052

Closed
michag86 opened this issue Jun 29, 2018 · 5 comments
Closed

Mail Buttons not shown in LotusNotes #10052

michag86 opened this issue Jun 29, 2018 · 5 comments
Labels
design Design, UI, UX, etc. enhancement
Milestone

Comments

@michag86
Copy link
Contributor

The Mail buttons are invisible in LotusNotes:
grafik

I think this is because the color is set on the td and not on the table of the button:

<table class="button btn default primary float-center" style="Margin:0;border-collapse:collapse;border-spacing:0;display:inline-block;float:none;margin:0;max-height:40px;padding:0;text-align:center;vertical-align:top;width:auto">
	<tr style="padding:0;text-align:left;vertical-align:top">
		<td style="-moz-hyphens:auto;-webkit-hyphens:auto;Margin:0;border-collapse:collapse!important;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;hyphens:auto;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">
			<table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%">
				<tr style="padding:0;text-align:left;vertical-align:top">
					<td style="-moz-hyphens:auto;-webkit-hyphens:auto;Margin:0;background:#0089C1;border:0 solid #0089C1;border-collapse:collapse!important;color:#fefefe;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;hyphens:auto;line-height:1.3;margin:0;padding:0;text-align:left;vertical-align:top;word-wrap:break-word">
						<a href="https://cloud.domain.com/s/id12345678" style="Margin:0;border:0 solid #0089C1;border-radius:2px;color:#ffffff;display:inline-block;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:regular;line-height:1.3;margin:0;padding:10px 25px 10px 25px;text-align:left;outline:1px solid #ffffff;text-decoration:none">Öffne »Test«</a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

The logo background color is set on the table. Maybe it's possible to set the button color on the table to?

cc @MorrisJobke

@MorrisJobke
Copy link
Member

@MorrisJobke
Copy link
Member

Should be possible to add this to the template - problem here is that this will break with customized email templates :/

@rullzer
Copy link
Member

rullzer commented Jul 18, 2018

@nickvergessen @juliushaertl @MorrisJobke something to look into

@juliusknorr
Copy link
Member

Created a PR with the proposed change to move the background color to the table at #10291.

@MorrisJobke This will happen with any change we do to the email template. Maybe we should just add a note about that to the release notes, so that people who use a custom email template can fix it for their implementation.

@MorrisJobke
Copy link
Member

@MorrisJobke This will happen with any change we do to the email template. Maybe we should just add a note about that to the release notes, so that people who use a custom email template can fix it for their implementation.

See the comment from @nickvergessen

@MorrisJobke MorrisJobke added this to the Nextcloud 14 milestone Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design, UI, UX, etc. enhancement
Projects
None yet
Development

No branches or pull requests

6 participants