Поправил иконку нового треда
This commit is contained in:
parent
dd9ae83014
commit
c835837156
@ -13,7 +13,7 @@ public class Icons {
|
|||||||
public static final String AUTHOR = "\uD83D\uDC68\u200D\uD83D\uDCBB️";
|
public static final String AUTHOR = "\uD83D\uDC68\u200D\uD83D\uDCBB️";
|
||||||
public static final String UPDATE = "\uD83D\uDD04";
|
public static final String UPDATE = "\uD83D\uDD04";
|
||||||
public static final String COMMENT = "\uD83D\uDCAC";
|
public static final String COMMENT = "\uD83D\uDCAC";
|
||||||
public static final String TASK = "\uD83D\uDCBC";
|
public static final String THREAD = "\uD83E\uDDF5";
|
||||||
public static final String ARROW = " ➜ ";
|
public static final String ARROW = " ➜ ";
|
||||||
public static final String DANGEROUS = "⚠️";
|
public static final String DANGEROUS = "⚠️";
|
||||||
public static final String GREEN_CIRCLE = "\uD83D\uDFE2";
|
public static final String GREEN_CIRCLE = "\uD83D\uDFE2";
|
||||||
@ -27,7 +27,6 @@ public class Icons {
|
|||||||
public static final String YES = "✅";
|
public static final String YES = "✅";
|
||||||
public static final String NO = "❌";
|
public static final String NO = "❌";
|
||||||
public static final String NOTIFY = "\uD83D\uDD14";
|
public static final String NOTIFY = "\uD83D\uDD14";
|
||||||
public static final String NO_PROCESSING = "\uD83D\uDDD1";
|
|
||||||
public static final String GOOD = "\uD83D\uDC4D";
|
public static final String GOOD = "\uD83D\uDC4D";
|
||||||
|
|
||||||
private Icons() {
|
private Icons() {
|
||||||
|
@ -25,7 +25,7 @@ public class NewThreadNotifyGenerator implements NotifyBoxAnswerGenerator<Discus
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BoxAnswer generate(DiscussionNewNotify notify) {
|
public BoxAnswer generate(DiscussionNewNotify notify) {
|
||||||
final StringBuilder builder = new StringBuilder(Icons.TASK).append(" *New Thread in your MR*")
|
final StringBuilder builder = new StringBuilder(Icons.THREAD).append(" *New Thread in your MR*")
|
||||||
.append(Icons.HR)
|
.append(Icons.HR)
|
||||||
.append(Icons.link(escapeMarkdown(notify.getMrName()), notify.getUrl()))
|
.append(Icons.link(escapeMarkdown(notify.getMrName()), notify.getUrl()))
|
||||||
.append(Icons.HR)
|
.append(Icons.HR)
|
||||||
|
@ -15,7 +15,7 @@ public class ThreadCloseNotifyGenerate implements NotifyBoxAnswerGenerator<TaskC
|
|||||||
@Override
|
@Override
|
||||||
public BoxAnswer generate(TaskCloseNotify notify) {
|
public BoxAnswer generate(TaskCloseNotify notify) {
|
||||||
|
|
||||||
final StringBuilder builder = new StringBuilder(Icons.TASK).append(" *Closed ").append(link("task", notify.getUrl()))
|
final StringBuilder builder = new StringBuilder(Icons.THREAD).append(" *Closed ").append(link("task", notify.getUrl()))
|
||||||
.append(Icons.HR)
|
.append(Icons.HR)
|
||||||
.append("*").append(notify.getAuthorName()).append("*: ").append(escapeMarkdown(notify.getMessageTask()));
|
.append("*").append(notify.getAuthorName()).append("*: ").append(escapeMarkdown(notify.getMessageTask()));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user