Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amparo Oliver
th-app-java
Commits
39b53be9
Commit
39b53be9
authored
Nov 24, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
se retocaron los filtros en la lista postulantes jsp
parent
620489c0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
curriculumsearch/src/main/resources/static/Convo.js
+10
-2
curriculumsearch/src/main/webapp/jsp/cargos.jsp
+1
-1
curriculumsearch/src/main/webapp/jsp/postulantes.jsp
+0
-0
No files found.
curriculumsearch/src/main/resources/static/Convo.js
View file @
39b53be9
const
cargoSelect
=
document
.
querySelector
(
"#cargoId"
);
const
convoBlock
=
document
.
querySelector
(
"#convocatoriaBlock"
);
function
listarConvocatorias
(
id
){
const
ConvocatoriaAmostrar
=
convocatorias
.
filter
(
c
=>
c
.
cargoId
==
id
);
if
(
ConvocatoriaAmostrar
.
length
>
0
)
{
convoBlock
.
style
.
display
=
""
;
}
else
{
convoBlock
.
style
.
display
=
"none"
;
}
const
convocatoria
=
document
.
querySelector
(
"select[name=convId]"
);
const
frag
=
document
.
createDocumentFragment
();
let
optionDefault
=
document
.
createElement
(
"option"
);
optionDefault
.
value
=
""
;
optionDefault
.
innerHTML
=
"
Seleccione
"
;
optionDefault
.
innerHTML
=
"
Todas
"
;
frag
.
appendChild
(
optionDefault
);
for
(
const
conv
of
ConvocatoriaAmostrar
)
{
const
opt
=
document
.
createElement
(
"option"
);
...
...
curriculumsearch/src/main/webapp/jsp/cargos.jsp
View file @
39b53be9
...
...
@@ -53,7 +53,7 @@ contentType="text/html;charset=UTF-8" language="java" %>
<td><a href="/cargo/${cargo.id}">Editar cargo</a></td>
<td>
<c:if test="${!cargo.isExisteConvocatoria()}">
<a class="btn btn-secondary" href="/convocatoria/crear/${cargo.id}">
abrir
Convocatoria</a>
<a class="btn btn-secondary" href="/convocatoria/crear/${cargo.id}">
Abrir
Convocatoria</a>
</c:if>
</td>
</tr>
...
...
curriculumsearch/src/main/webapp/jsp/postulantes.jsp
View file @
39b53be9
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment