Skip to content

Mail Buttons not shown in LotusNotes  #10052

Closed

Description

@michag86

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="/api/browser/proxy?url=https%3A%2F%2Fcloud.domain.com%2Fs%2Fid12345678" 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

Activity

  1. MorrisJobke commented on Jun 29, 2018

    @MorrisJobke
    Member
  2. MorrisJobke commented on Jun 29, 2018

    @MorrisJobke
    Member

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

  3. rullzer commented on Jul 18, 2018

    @rullzer
    Member
  4. juliusknorr commented on Jul 19, 2018

    @juliusknorr
    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.

  5. MorrisJobke commented on Jul 19, 2018

    @MorrisJobke
    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

  6. added this to the Nextcloud 14 milestone on Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions