ВЕСЬ КОД внешнего интерфейса
Код: Выделить всё
Engage Mate - Application
.vi-page-branding {
background: #FFF;
padding-top: 22px !important;
}
[class*='vi-']:not(.vi-container),
[class*='gw-']:not(.gw-container) {
font-family: "Avenir Next", sans-serif;
}
@media (min-width: 1024px) {
.vi-page-branding__main {
height: 4.375rem;
padding: 0 1.875rem;
}
}
.vi-page-branding__main {
display: flex;
align-items: center;
padding: 0 1.25rem;
height: 3.125rem;
max-width: 1440px;
margin-left: auto;
margin-right: auto;
}
.vi-page-branding__logo img {
display: block;
}
img {
vertical-align: middle;
border-style: none;
max-width: 100%;
}
.vi-page-branding__link {
text-decoration: none !important;
display: flex;
}
.social-icons li a,
a.social-icon {
width: 28px;
height: 28px;
display: block;
background-position: 0 0;
background-repeat: no-repeat;
transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
}
.rounded-x {
border-radius: 50% !important;
}
.social_linkedin {
background: url(https://www.cresensolutions.com/assets//img/icons/social/linkedin.png) no-repeat;
}
body {
font-family: 'Arial', sans-serif;
color: #333;
font-size: 13px;
line-height: 1.6;
}
.footer-v1 .footer {
padding: 10px 0;
background: #272727;
}
.row {
margin-right: -15px;
margin-left: -15px;
}
.col-md-6 {
width: 40%;
}
.col-md-3 {
width: 25%;
}
.col-md-6,
.col-md-3 {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
.footer-v1 .footer p {
color: #eee;
}
.headline {
display: block;
margin: 10px 0 25px 0;
border-bottom: 1px dotted #e4e9f0;
}
.footer-v1 .footer h2 {
color: #eee;
font-size: 18px;
font-weight: 200;
}
.headline h2 {
font-size: 22px;
margin: 0 0 -2px 0;
padding-bottom: 5px;
display: inline-block;
border-bottom: 2px solid #3498db;
}
.list-unstyled {
padding-left: 0;
list-style: none;
}
.footer-v1 .link-list li {
border-top: solid 1px #353535;
}
.link-list li:first-child {
border-top: none !important;
}
.link-list li {
border-top: solid 1px #353535;
}
p,
li,
li a,
label {
color: #555;
}
.footer-v1 address,
.footer-v1 .link-list a,
.footer-v1 .link-list i {
color: #eee;
}
.footer a,
.copyright a,
.footer a:hover,
.copyright a:hover {
color: #3498db;
}
.link-list a {
color: #eee;
font-size: 11px;
padding: 6px 0px;
display: inline-block;
text-transform: uppercase;
}
a,
a:focus,
a:hover,
a:active {
outline: 0 !important;
}
a {
color: #337ab7;
text-decoration: none;
background-color: transparent;
}
.footer-v1 .footer .map-img {
background: url(https://www.cresensolutions.com/assets/img/map-img.png) 5px 60px no-repeat;
}
.footer-v1 address {
line-height: 23px;
}
.footer-v1 address,
.footer-v1 .link-list a,
.footer-v1 .link-list i {
color: #eee;
}
address {
margin-bottom: 20px;
font-style: normal;
line-height: 1.42857143;
}
.footer-v1 .copyright {
background: #222;
border-top: none;
padding: 10px 0 5px;
}
.wrapper {
background: #fff;
}
.row:after,
.row:before {
display: table;
content: " ";
}
.footer-v1 .copyright p {
color: #eee;
margin-top: 14px;
}
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 768px) and (max-width: 1024px) {
.footer-v1 .copyright,
.footer-v1 .footer-socials {
text-align: left;
}
.md-margin-bottom-40 {
margin-bottom: 40px;
}
}
.social-icons li:hover a {
background-position: 0 -38px;
}
.footer a,
.copyright a,
.footer a:hover,
.copyright a:hover {
color: #3498db;
}
.footer-v1 .copyright a {
margin: 0 2px;
}
.font-weight-bold{
font-weight: bold;
}
,
.
[url=@{${link}}][/url]
:
:
:
:
:
:
:
:
:
:
--------------------------THIS LINE I NEED TO change
:
:
[url=@{${link}}][/url] .
,
[url=#]
[img]cid:insmedLogo[/img]
[img]cid:tevaLogo[/img]
[/url]
----------------------------------------------------------------
- this is working fine check in above whole code
-------------------------------------------------------------------
Reviewer Comments:
- i have tried this , replacement not working?
Код: Выделить всё
private String getActivityApprovedComments(String activityId, String action) throws Exception {
StringBuilder sb = new StringBuilder();
List activityApprovalAuditList = activityApprovalAuditService.fetchActivityApprovalAuditByActivityIdAndAction(activityId, action);
if (activityApprovalAuditList != null && !activityApprovalAuditList.isEmpty()) {
for(ActivityApprovalAudit activityApprovalAudit: activityApprovalAuditList) {
long userId = activityApprovalAudit.getUserId();
LinkedHashMap user = util.getUserByUserId(userId);
String reviewerName = Util.convertToString(user.get(USER_FULL_NAME));
sb.append(reviewerName)
.append(" - ")
.append(CommonConstants.APPROVED)
.append(" on ").append(activityApprovalAudit.getCreatedDate())
.append(" - ")
.append(activityApprovalAudit.getComment())
.append("|"); // also try to change here with \n, br and other tag not wokring.
}
return sb.substring(0, sb.length() - 3);
}
else return sb.toString();
}
user1 — Дата одобрения — comment1 | user2 - Дата одобрения - comment2
Интервал не активируется ни из серверной части, ни из внешних интерфейсов, которые уже используют .append("\n) в резервной части и тег br во внешней части
Мне нужен этот ВЫВОД:
if 3 Рецензент
Имя Рецензента 3: Дата утверждения – Комментарии
Имя рецензента 2: Дата утверждения – Комментарии
Имя рецензента 1: Дата утверждения – Комментарии
если 2 Рецензент
Имя рецензента 2: Дата утверждения – Комментарии
Имя рецензента 1: Дата утверждения – Комментарии

- так правильно, я получаю этот ответ Outlook. Я просто хочу изменить комментарий рецензента в формате ниже.!
Проблема в том, что я попробовал несколько пробелов, тег
и , но уведомление по электронной почте не работает. Даже в серверной части я пробовал \n вместо каналов, но. ничего не работает. что-нибудь? Пожалуйста, напишите код в HTML Thymeleaf, используя таблицу или что-то еще, чтобы он выдавал тот же результат, что и упомянутая проблема, особенно с пробелами, и убедитесь, что он должен обрабатываться. Я попробовал кучу решений. Проблема в том, что HTML Thymeleaf не обработал после изменения HTML. Может быть, это проблема с тегами?
Подробнее здесь: https://stackoverflow.com/questions/792 ... -thymeleaf
Мобильная версия