Commit f8f2d18a authored by Liing Pang Ryan's avatar Liing Pang Ryan
Browse files

Display no choices yet when there are no choices

parent 74d0e88c
<%@ taglib uri="" prefix="c" %>
<div class="choices" id="choices${}">
<c:if test="${empty choiceList}">
<div class="no_choices">There are no choices yet for this story</div>
<c:forEach items="${choiceList}" var="choice">
<c:if test="${choice['idParagrapheSuite']==0}" var="new" scope="request">
<span class="choice ${choice['published']?'':'edit'}" id ="choice${choice['id']}" style ="${choice['published']?'':'display:none;'}" onclick="${'newParagraphe'}(${choice['idParagraphe']},${choice['id']},${storyid})">
......@@ -17,7 +20,6 @@
<div class="add_choice">
<div class="add_choice_btn" onclick="addChoice(${},${storyid})" id="add_choice${}">
......@@ -412,7 +412,7 @@
justify-content: center;
align-items: center;
font-size: large;
font-size: 100%;
font-weight: bold;
font-family: 'Roboto Slab', cursive;
......@@ -546,4 +546,15 @@
margin-right: auto;
/*No choices yet for the story*/
font-family: 'Roboto Slab', cursive;
font-size: x-large;
margin: 50px auto;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment