From 181b14d2e75d0a1865371747fda330abc0101be1 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 30 Apr 2019 19:04:37 +0400 Subject: [PATCH] #fix paper status --- .../ru/ulstu/paper/service/PaperService.java | 2 +- .../resources/static/papers/paper-item.vue | 30 +++++++++++----- .../resources/static/papers/paper-status.vue | 35 +++++++++++++++++++ 3 files changed, 57 insertions(+), 10 deletions(-) create mode 100644 src/main/resources/static/papers/paper-status.vue diff --git a/src/main/java/ru/ulstu/paper/service/PaperService.java b/src/main/java/ru/ulstu/paper/service/PaperService.java index 3db7c84..aa009e7 100644 --- a/src/main/java/ru/ulstu/paper/service/PaperService.java +++ b/src/main/java/ru/ulstu/paper/service/PaperService.java @@ -40,7 +40,7 @@ import static ru.ulstu.paper.model.ReferenceDto.ReferenceType.BOOK; @Service public class PaperService { - private final static int MAX_DISPLAY_SIZE = 40; + private final static int MAX_DISPLAY_SIZE = 50; private final static String PAPER_FORMATTED_TEMPLATE = "%s %s"; private final PaperNotificationService paperNotificationService; diff --git a/src/main/resources/static/papers/paper-item.vue b/src/main/resources/static/papers/paper-item.vue index e244599..b261ad5 100644 --- a/src/main/resources/static/papers/paper-item.vue +++ b/src/main/resources/static/papers/paper-item.vue @@ -1,22 +1,34 @@ \ No newline at end of file diff --git a/src/main/resources/static/papers/paper-status.vue b/src/main/resources/static/papers/paper-status.vue new file mode 100644 index 0000000..0386e05 --- /dev/null +++ b/src/main/resources/static/papers/paper-status.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file