Skip to content

Commit

Permalink
SAK-46339 Discussions: Topic Settings message for unidentified setting (
Browse files Browse the repository at this point in the history
sakaiproject#9971)

Basically turning the banners into inline and adjust alignment
  • Loading branch information
bgarciaentornos authored Oct 29, 2021
1 parent dcf6baa commit 2dbc801
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@
vertical-align: middle;
}
}
&#revise\:topic_postAnonymous{
margin-top: 13px;
}
}
&.openDateSpan{
label{
Expand Down Expand Up @@ -236,10 +239,6 @@
&\:alert-delete{
margin: 2em 0 0 0;
}

& #forum_grading{
margin-top: 2em;
}
}

.messagesThreaded{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ cdfm_moderate_forum=Moderar temas en el foro
cdfm_moderate_forums=Moderar temas de los foros
cdfm_postFirst=Indicar a los usuarios que deben publicar un elemento antes de leer
cdfm_postFirst_warning=Debe publicar algo sobre este tema antes para poder ver los mensajes
cdfm_postAnonymous=Los env\u00edos son an\u00f3nimos pero las identidades se mostrar\u00e1n a quienes tengan el permiso "Identificar autores an\u00f3nimos". Nota\: los roles con nivel "Propietario" pueden ver las identidades por defecto.
cdfm_postAnonymous=Los env\u00edos son an\u00f3nimos pero las identidades se mostrar\u00e1n a quienes tengan el permiso "Identificar autores an\u00f3nimos". Nota\: los roles con nivel "Propietario" pueden ver las identidades por defecto.
cdfm_revealIDsToRoles=Revela la identidad a los roles con el permiso "Identificar autores an\u00f3nimos"
cdfm_noReviseAfter=Esta configuraci\u00f3n no se podr\u00e1 cambiar despu\u00e9s de la creaci\u00f3n del tema.
cdfm_noRevise=Esta configuraci\u00f3n no se puede cambiar.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,9 @@
onclick='togglePostAnonymousOption(this.checked);'
disabled="#{!ForumTool.newTopicOrPostAnonymousRevisable}">
</h:selectBooleanCheckbox>
<h:outputLabel for="topic_postAnonymous">
<h:outputText value="#{msgs.cdfm_postAnonymous}"/>
<h:outputText value="#{msgs.cdfm_noReviseAfter}" styleClass="sak-banner-warn" rendered="#{!ForumTool.postAnonymousRevisable && !ForumTool.existingTopic}"/>
<h:outputText value="#{msgs.cdfm_noRevise}" styleClass="sak-banner-warn" rendered="#{!ForumTool.postAnonymousRevisable && ForumTool.existingTopic}"/>
<h:outputLabel escape="false" for="topic_postAnonymous" value="#{msgs.cdfm_postAnonymous} &nbsp;">
<h:outputText value="#{msgs.cdfm_noReviseAfter}" styleClass="sak-banner-warn-inline" rendered="#{!ForumTool.postAnonymousRevisable && !ForumTool.existingTopic}"/>
<h:outputText value="#{msgs.cdfm_noRevise}" styleClass="sak-banner-warn-inline" rendered="#{!ForumTool.postAnonymousRevisable && ForumTool.existingTopic}"/>
</h:outputLabel>
</t:htmlTag>
<t:htmlTag value="div" id="revealIDsToRolesContainer" style="display: #{ForumTool.selectedTopic.topicPostAnonymous ? '' : 'none'}" styleClass="indnt2 anonTopic" rendered="#{ForumTool.anonymousEnabled}">
Expand All @@ -254,10 +253,9 @@
id="topic_revealIDsToRoles"
disabled="#{!ForumTool.newTopicOrRevealIDsToRolesRevisable}">
</h:selectBooleanCheckbox>
<h:outputLabel for="topic_revealIDsToRoles">
<h:outputText value="#{msgs.cdfm_revealIDsToRoles}"/>
<h:outputText value="#{msgs.cdfm_noReviseAfter}" styleClass="sak-banner-warn" rendered="#{!ForumTool.revealIDsToRolesRevisable && !ForumTool.existingTopic}"/>
<h:outputText value="#{msgs.cdfm_noRevise}" styleClass="sak-banner-warn" rendered="#{!ForumTool.revealIDsToRolesRevisable && ForumTool.existingTopic}"/>
<h:outputLabel escape="false" for="topic_revealIDsToRoles" value="#{msgs.cdfm_revealIDsToRoles} &nbsp;">
<h:outputText value="#{msgs.cdfm_noReviseAfter}" styleClass="sak-banner-warn-inline" rendered="#{!ForumTool.revealIDsToRolesRevisable && !ForumTool.existingTopic}"/>
<h:outputText value="#{msgs.cdfm_noRevise}" styleClass="sak-banner-warn-inline" rendered="#{!ForumTool.revealIDsToRolesRevisable && ForumTool.existingTopic}"/>
</h:outputLabel>
</p>
</t:htmlTag>
Expand Down

0 comments on commit 2dbc801

Please sign in to comment.