Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Esteban Choque
Portal Bolivia Digital
Commits
815fa149
Commit
815fa149
authored
May 16, 2019
by
Esteban Choque
Browse files
Se corrigieron los formatos de visualizacion de fechas
parent
50652e4d
Changes
3
Show whitespace changes
Inline
Side-by-side
src/pages/participa/_id_forum/_name_forum/_id_topic/_name_topic/_id_post/_name_post/index.vue
View file @
815fa149
...
...
@@ -21,14 +21,13 @@
:to=
"$i18n.path(`participa/`+$route.params.id_forum+`/`+$route.params.name_forum)"
>
{{
categoria_nombre
}}
</nuxt-link>
/
Publicado
el
<span>
{{
$datetime
.
format
(
post_fecha_publicacion
,
'
dd de MMM del YYYY
Hrs.
HH:mm
'
)
}}
</span>
Publicado
por
<span>
{{
post_nombre
}}
el
{{
$datetime
.
format
(
post_fecha_publicacion
,
'
dd de MMM del YYYY
a las
HH:mm
'
)
}}
</span>
</div>
</div>
</div>
<div
class=
"page-content"
>
<p>
Autor:
{{
post_nombre
}}
</p>
<p>
{{
post_body
}}
</p>
<h3
class=
"subtitle"
>
Respuestas
...
...
@@ -43,10 +42,7 @@
<div
v-for=
"replie in post.replies"
:key=
"replie.id_replie"
>
<p>
{{
replie
.
fecha_publicacion
}}
</p>
<div>
<p>
{{
replie
.
nombre
}}
</p>
</div>
<p
class=
"info_post"
>
Publicado por
{{
replie
.
nombre
}}
el
{{
$datetime
.
format
(
replie
.
fecha_publicacion
,
'
dd de MMM del YYYY a las HH:mm
'
)
}}
</p>
<p>
{{
replie
.
body
}}
</p>
<hr
class=
"separador_post"
>
</div>
...
...
@@ -55,8 +51,8 @@
<h3
class=
"subtitle"
>
Respuesta a:
{{
post_title
}}
</h3>
<
h3
>
Tu Información:
</
h3
>
<span
class=
"demo-input-label"
>
Nombre:
</span>
<
p
class=
"tu_info"
>
Tu Información:
</
p
>
<span
class=
"demo-input-label"
>
Nombre
(requerido)
:
</span>
<el-input
placeholder=
"Escribe tu nombre"
v-model=
"nombre"
></el-input>
...
...
@@ -208,4 +204,14 @@ export default {
padding-left
:
25px
;
text-align
:
left
;
}
.info_post
{
font-style
:
italic
;
color
:
#333333
;
font-size
:
1
.0rem
;
}
.tu_info
{
font-weight
:
bold
;
}
</
style
>
\ No newline at end of file
src/pages/participa/_id_forum/_name_forum/_id_topic/_name_topic/index.vue
View file @
815fa149
...
...
@@ -40,9 +40,9 @@
:key=
"post.id_forum"
>
<nuxt-link
:to=
"$i18n.path(`participa/`+$route.params.id_forum+`/`+$route.params.name_forum+`/`+$route.params.id_topic+`/`+$route.params.name_topic+`/`+post.id_post+`/`+post.slug)"
>
{{
post
.
title
}}
<p>
{{
post
.
title
}}
</p>
</nuxt-link>
<p>
{{
post
.
nombre
}}
</p>
<p
class=
"info_post"
>
{{
post
.
nombre
}}
</p>
<p>
{{
post
.
extract_body
}}
</p>
<hr
class=
"separador_post"
>
</div>
...
...
@@ -63,7 +63,7 @@
<h3
class=
"subtitle"
>
Inicia un nuevo Debate:
</h3>
<
h3
>
Tu Información:
</
h3
>
<
p
class=
"tu_info"
>
Tu Información:
</
p
>
<span
class=
"demo-input-label"
>
Nombre:
</span>
<el-input
placeholder=
"Escribe tu nombre"
...
...
@@ -285,4 +285,14 @@ export default {
padding-left
:
25px
;
text-align
:
left
;
}
.info_post
{
font-style
:
italic
;
color
:
#333333
;
font-size
:
1
.0rem
;
}
.tu_info
{
font-weight
:
bold
;
}
</
style
>
\ No newline at end of file
src/pages/participa/_id_forum/_name_forum/index.vue
View file @
815fa149
...
...
@@ -76,7 +76,7 @@
</td>
</tr>
<tr>
<td>
Nombre
</td>
<td>
Nombre
(requerido):
</td>
</tr>
<tr>
<td>
...
...
@@ -86,7 +86,7 @@
</td>
</tr>
<tr>
<td>
Email
</td>
<td>
Email
(no será publicado)(requerido):
</td>
</tr>
<tr>
<td>
...
...
@@ -96,7 +96,7 @@
</td>
</tr>
<tr>
<td>
Título
</td>
<td>
Título
del debate (Longitud máxima: 80):
</td>
</tr>
<tr>
<td>
...
...
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