Compare commits
No commits in common. "28f2703ef1ea173a1625473f842aa8927a368f48" and "82837c622e4dd41ff4a82af12900b502de9333dc" have entirely different histories.
28f2703ef1
...
82837c622e
5 changed files with 15 additions and 15 deletions
|
|
@ -71,13 +71,13 @@ impl Block {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Añade un nuevo componente hijo al bloque.
|
/// Añade un nuevo componente hijo al bloque.
|
||||||
#[inline]
|
|
||||||
pub fn add_child(mut self, component: impl Component) -> Self {
|
pub fn add_child(mut self, component: impl Component) -> Self {
|
||||||
self.children.add(Child::with(component));
|
self.children
|
||||||
|
.alter_child(ChildOp::Add(Child::with(component)));
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Modifica la lista de componentes (`children`) aplicando una operación [`ChildOp`].
|
/// Modifica la lista de hijos (`children`) aplicando una operación [`ChildOp`].
|
||||||
#[builder_fn]
|
#[builder_fn]
|
||||||
pub fn with_child(mut self, op: ChildOp) -> Self {
|
pub fn with_child(mut self, op: ChildOp) -> Self {
|
||||||
self.children.alter_child(op);
|
self.children.alter_child(op);
|
||||||
|
|
@ -96,7 +96,7 @@ impl Block {
|
||||||
&self.title
|
&self.title
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Devuelve la lista de componentes (`children`) del bloque.
|
/// Devuelve la lista de hijos (`children`) del bloque.
|
||||||
pub fn children(&self) -> &Children {
|
pub fn children(&self) -> &Children {
|
||||||
&self.children
|
&self.children
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ impl Component for Intro {
|
||||||
class="intro-button__link"
|
class="intro-button__link"
|
||||||
href=((lnk)(cx))
|
href=((lnk)(cx))
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noreferrer"
|
||||||
{
|
{
|
||||||
span {} span {} span {}
|
span {} span {} span {}
|
||||||
div class="intro-button__text" {
|
div class="intro-button__text" {
|
||||||
|
|
@ -216,9 +216,9 @@ impl Component for Intro {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
div class="intro-footer__links" {
|
div class="intro-footer__links" {
|
||||||
a href="https://crates.io/crates/pagetop" target="_blank" rel="noopener noreferrer" { ("Crates.io") }
|
a href="https://crates.io/crates/pagetop" target="_blank" rel="noreferrer" { ("Crates.io") }
|
||||||
a href="https://docs.rs/pagetop" target="_blank" rel="noopener noreferrer" { ("Docs.rs") }
|
a href="https://docs.rs/pagetop" target="_blank" rel="noreferrer" { ("Docs.rs") }
|
||||||
a href="https://git.cillero.es/manuelcillero/pagetop" target="_blank" rel="noopener noreferrer" { (L10n::l("intro_code").using(cx)) }
|
a href="https://git.cillero.es/manuelcillero/pagetop" target="_blank" rel="noreferrer" { (L10n::l("intro_code").using(cx)) }
|
||||||
em { (L10n::l("intro_have_fun").using(cx)) }
|
em { (L10n::l("intro_have_fun").using(cx)) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -301,13 +301,13 @@ impl Intro {
|
||||||
/// Añade un nuevo componente hijo a la intro.
|
/// Añade un nuevo componente hijo a la intro.
|
||||||
///
|
///
|
||||||
/// Si es un bloque ([`Block`]) aplica estilos específicos para destacarlo.
|
/// Si es un bloque ([`Block`]) aplica estilos específicos para destacarlo.
|
||||||
#[inline]
|
|
||||||
pub fn add_child(mut self, component: impl Component) -> Self {
|
pub fn add_child(mut self, component: impl Component) -> Self {
|
||||||
self.children.add(Child::with(component));
|
self.children
|
||||||
|
.alter_child(ChildOp::Add(Child::with(component)));
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Modifica la lista de componentes (`children`) aplicando una operación [`ChildOp`].
|
/// Modifica la lista de hijos (`children`) aplicando una operación [`ChildOp`].
|
||||||
#[builder_fn]
|
#[builder_fn]
|
||||||
pub fn with_child(mut self, op: ChildOp) -> Self {
|
pub fn with_child(mut self, op: ChildOp) -> Self {
|
||||||
self.children.alter_child(op);
|
self.children.alter_child(op);
|
||||||
|
|
@ -336,7 +336,7 @@ impl Intro {
|
||||||
self.opening
|
self.opening
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Devuelve la lista de componentes (`children`) de la intro.
|
/// Devuelve la lista de hijos (`children`) de la intro.
|
||||||
pub fn children(&self) -> &Children {
|
pub fn children(&self) -> &Children {
|
||||||
&self.children
|
&self.children
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
use crate::prelude::*;
|
use crate::prelude::*;
|
||||||
|
|
||||||
// Enlace a la página oficial de PageTop.
|
// Enlace a la página oficial de PageTop.
|
||||||
const LINK: &str = "<a href=\"https://pagetop.cillero.es\" rel=\"noopener noreferrer\">PageTop</a>";
|
const LINK: &str = "<a href=\"https://pagetop.cillero.es\" rel=\"noreferrer\">PageTop</a>";
|
||||||
|
|
||||||
/// Componente que renderiza la sección 'Powered by' (*Funciona con*) típica del pie de página.
|
/// Componente que renderiza la sección 'Powered by' (*Funciona con*) típica del pie de página.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ welcome_status_1 = If you can see this page, it means the <strong>PageTop</stron
|
||||||
welcome_status_2 = If the issue persists, please <strong>contact the system administrator</strong>.
|
welcome_status_2 = If the issue persists, please <strong>contact the system administrator</strong>.
|
||||||
|
|
||||||
welcome_support_title = Support
|
welcome_support_title = Support
|
||||||
welcome_support_1 = To report issues with the <strong>PageTop</strong> framework, use <a href="https://github.com/manuelcillero/pagetop/issues" target="_blank" rel="noopener noreferrer">GitHub</a>. Remember, before opening a new issue, review the existing ones to avoid duplicates.
|
welcome_support_1 = To report issues with the <strong>PageTop</strong> framework, use <a href="https://github.com/manuelcillero/pagetop/issues" target="_blank" rel="noreferrer">GitHub</a>. Remember, before opening a new issue, review the existing ones to avoid duplicates.
|
||||||
welcome_support_2 = For issues specific to the application (<strong>{ $app }</strong>), please use its official repository or support channel.
|
welcome_support_2 = For issues specific to the application (<strong>{ $app }</strong>), please use its official repository or support channel.
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ welcome_status_1 = Si puedes ver esta página, es porque el servidor de <strong>
|
||||||
welcome_status_2 = Si el problema persiste, por favor, <strong>contacta con el administrador del sistema</strong>.
|
welcome_status_2 = Si el problema persiste, por favor, <strong>contacta con el administrador del sistema</strong>.
|
||||||
|
|
||||||
welcome_support_title = Soporte
|
welcome_support_title = Soporte
|
||||||
welcome_support_1 = Para comunicar incidencias del propio entorno <strong>PageTop</strong>, utiliza <a href="https://github.com/manuelcillero/pagetop/issues" target="_blank" rel="noopener noreferrer">GitHub</a>. Recuerda, antes de abrir una nueva incidencia, revisa las existentes para evitar duplicados.
|
welcome_support_1 = Para comunicar incidencias del propio entorno <strong>PageTop</strong>, utiliza <a href="https://github.com/manuelcillero/pagetop/issues" target="_blank" rel="noreferrer">GitHub</a>. Recuerda, antes de abrir una nueva incidencia, revisa las existentes para evitar duplicados.
|
||||||
welcome_support_2 = Para fallos específicos de la aplicación (<strong>{ $app }</strong>), utiliza su repositorio oficial o su canal de soporte.
|
welcome_support_2 = Para fallos específicos de la aplicación (<strong>{ $app }</strong>), utiliza su repositorio oficial o su canal de soporte.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue