WIP: Try vue #244

Closed
romanov73 wants to merge 49 commits from try-vue into dev
2 changed files with 15 additions and 12 deletions
Showing only changes of commit 7c1b87c126 - Show all commits

View File

@ -40,7 +40,7 @@ import static ru.ulstu.paper.model.ReferenceDto.ReferenceType.BOOK;
@Service
public class PaperService {
private final static int MAX_DISPLAY_SIZE = 50;
private final static int MAX_DISPLAY_SIZE = 75;
private final static String PAPER_FORMATTED_TEMPLATE = "%s %s";
private final PaperNotificationService paperNotificationService;

View File

@ -1,21 +1,24 @@
<template>
<div class="row text-left paper-row" style="background-color: white;">
<div class="col-sm-12">
<paper-status :status="paper.status"
:key="paper.id">
</paper-status>
<router-link :to="{ path: 'papers/paper', query: { id: paper.id }}" class="portfolio-link">
<span class="h6">{{ paper.title }}</span>
</router-link>
</div>
<div class="col-sm-12 col">
<div>
<div class="row text-left paper-row" style="background-color: white;">
<div class="col-sm-12">
<paper-status :status="paper.status"
:key="paper.id">
</paper-status>
<router-link :to="{ path: 'papers/paper', query: { id: paper.id }}" class="portfolio-link">
<span class="h6">{{ paper.title }}</span>
</router-link>
</div>
<div class="col-sm-12 col">
<span class="fa-stack fa-1x">
<div>
<i class="fa fa-circle fa-stack-2x" style="color: white"></i>
</div>
<i class="fa fa-file-text-o fa-stack-1x fa-inverse"></i></span>
<span class="text-muted">{{ getAuthors }}</span>
<span class="text-muted">{{ getAuthors }}</span>
</div>
</div>
<hr>
</div>
</template>