emails: don't use tag type for commit flow in pull-request type emails.
- they don't render nicely in small devices - they are way off visually to all other elements of emails making it almost like a primary elements (which they aren't)
This commit is contained in:
parent
9143b86d83
commit
2d0da2ef00
2 changed files with 4 additions and 4 deletions
|
|
@ -167,9 +167,9 @@ data = {
|
|||
<tr>
|
||||
<td style="padding-right:20px;line-height:20px;">${_('Commit Flow')}:</td>
|
||||
<td style="line-height:20px;">
|
||||
${base.tag_button('{}:{}'.format(data['source_ref_type'], pull_request.source_ref_parts.name))} ${_('of')} ${data['source_repo_url']}
|
||||
<code>${'{}:{}'.format(data['source_ref_type'], pull_request.source_ref_parts.name)}</code> ${_('of')} ${data['source_repo_url']}
|
||||
→
|
||||
${base.tag_button('{}:{}'.format(data['target_ref_type'], pull_request.target_ref_parts.name))} ${_('of')} ${data['target_repo_url']}
|
||||
<code>${'{}:{}'.format(data['target_ref_type'], pull_request.target_ref_parts.name)}</code> ${_('of')} ${data['target_repo_url']}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
|||
|
|
@ -113,9 +113,9 @@ data = {
|
|||
<tr>
|
||||
<td style="padding-right:20px;line-height:20px;">${_('Commit Flow')}:</td>
|
||||
<td style="line-height:20px;">
|
||||
${base.tag_button('{}:{}'.format(data['source_ref_type'], pull_request.source_ref_parts.name))} ${_('of')} ${data['source_repo_url']}
|
||||
<code>${'{}:{}'.format(data['source_ref_type'], pull_request.source_ref_parts.name)}</code> ${_('of')} ${data['source_repo_url']}
|
||||
→
|
||||
${base.tag_button('{}:{}'.format(data['target_ref_type'], pull_request.target_ref_parts.name))} ${_('of')} ${data['target_repo_url']}
|
||||
<code>${'{}:{}'.format(data['target_ref_type'], pull_request.target_ref_parts.name)}</code> ${_('of')} ${data['target_repo_url']}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue