Actualiza el código con personalizaciones

Archivos que se modifican para personalizar su funcionamiento según los
requerimientos de SuitePro.
This commit is contained in:
Manuel Cillero 2020-12-02 20:03:09 +01:00
parent bb4beba114
commit 7750f183e7
12 changed files with 326 additions and 66 deletions

View file

@ -26,29 +26,148 @@
= call_hook :view_welcome_show_actions_dropdown
h2 = welcome_overview_name @dashboard
- if User.current.logged?
= call_hook :view_welcome_index_top
h2 = welcome_overview_name @dashboard
= render partial: 'common/dashboard', locals: { dashboard: @dashboard }
= call_hook :view_welcome_index_top
= call_hook :view_welcome_index_bottom
= render partial: 'common/dashboard', locals: { dashboard: @dashboard }
- if @dashboard_sidebar
- content_for :sidebar do
= render partial: 'sidebar'
= call_hook :view_welcome_show_sidebar_bottom
= call_hook :view_welcome_index_bottom
- content_for :header_tags do
= auto_discovery_link_tag :atom,
{ controller: 'news',
action: 'index',
key: User.current.rss_key,
format: 'atom' },
title: "#{Setting.app_title}: #{l :label_news_latest}"
= auto_discovery_link_tag :atom,
{ controller: 'activities',
action: 'index',
key: User.current.rss_key,
format: 'atom' },
title: "#{Setting.app_title}: #{l :label_activity}"
- if @dashboard_sidebar
- content_for :sidebar do
= render partial: 'sidebar'
= call_hook :view_welcome_show_sidebar_bottom
- content_for :header_tags do
= auto_discovery_link_tag :atom,
{ controller: 'news',
action: 'index',
key: User.current.rss_key,
format: 'atom' },
title: "#{Setting.app_title}: #{l :label_news_latest}"
= auto_discovery_link_tag :atom,
{ controller: 'activities',
action: 'index',
key: User.current.rss_key,
format: 'atom' },
title: "#{Setting.app_title}: #{l :label_activity}"
- else
div id="fp"
= text_field_tag 'forcetop', nil, :style => 'display: none;'
<!-- Banner -->
section id="fp-banner"
div class="inner"
h2 SuitePro
p #{l :welcome_suitepro}
ul class="actions special"
li
<a href="#fp-login" class="button primary scrolly">#{l :label_login}</a>
<a href="#one" class="more scrolly">#{l :welcome_discover}</a>
<!-- One -->
section id="one" class="frapper style1 special"
div class="inner"
header class="major"
h2 A SIMPLE WAY TO GET WORK DONE&nbsp;&nbsp;;)
p #{raw l :welcome_suitepro_is_redmine, :suitepro => '<strong>SuitePro</strong>', :redmine => '<a href="https://www.redmine.org"><strong>Redmine</strong></a>'}
ul class="icons major"
<li><span class="fp-icon fp-icon_1 major style1"><span class="label">Ruby</span></span></li>
<li><span class="fp-icon fp-icon_2 major style2"><span class="label">Project</span></span></li>
<li><span class="fp-icon fp-icon_3 major style3"><span class="label">Workflow</span></span></li>
<!-- Two -->
section id="two" class="frapper alt style2"
section class="spotlight"
div class="image"
= image_tag '/themes/circlepro/images/pic01.jpg'
div class="content"
h2 #{raw l :welcome_spotlight_1_title}
p #{l :welcome_spotlight_1_text}
section class="spotlight"
div class="image"
= image_tag '/themes/circlepro/images/pic02.jpg'
div class="content"
h2 #{raw l :welcome_spotlight_2_title}
p #{l :welcome_spotlight_2_text}
section class="spotlight"
div class="image"
= image_tag '/themes/circlepro/images/pic03.jpg'
div class="content"
h2 #{raw l :welcome_spotlight_3_title}
p #{l :welcome_spotlight_3_text}
<!-- Three -->
section id="three" class="frapper style3 special"
div class="inner"
header class="major"
h2 #{l :welcome_other_features}
ul class="features"
li class="fp-icon fp-icon_4"
h3 #{l :welcome_feature_1_title}
p #{l :welcome_feature_1_text}
li class="fp-icon fp-icon_5"
h3 #{l :welcome_feature_2_title}
p #{l :welcome_feature_2_text}
li class="fp-icon fp-icon_6"
h3 #{l :welcome_feature_3_title}
p #{l :welcome_feature_3_text}
li class="fp-icon fp-icon_7"
h3 #{l :welcome_feature_4_title}
p #{l :welcome_feature_4_text}
li class="fp-icon fp-icon_8"
h3 #{l :welcome_feature_5_title}
p #{l :welcome_feature_5_text}
li class="fp-icon fp-icon_9"
h3 #{l :welcome_feature_6_title}
p #{l :welcome_feature_6_text}
<!-- Login -->
section id="fp-login" class="frapper style4"
div class="inner"
div id="login-form"
h2 #{l :label_login}
= form_tag signin_path, onsubmit: 'return keepAnchorOnSignIn(this);' do
= back_url_hidden_field_tag
label for="username" #{l :field_login}
= text_field_tag 'username', params[:username], :tabindex => '1'
<label for="password">#{l :field_password}
= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password?
</label>
= password_field_tag 'password', nil, :tabindex => '2'
- if Setting.openid?
label for="openid_url" #{l :field_identity_url}
= text_field_tag "openid_url", nil, :tabindex => '3'
- if Setting.autologin?
label for="autologin" #{l :label_stay_logged_in}
= check_box_tag 'autologin', 1, false, :tabindex => 4
<input type="submit" name="login" value="#{l :button_login}" tabindex="5" id="login-submit" />
<!-- CTA -->
section id="fp-cta" class="frapper style4"
div class="inner"
header
h2 #{l :welcome_any_questions}
p #{l :welcome_please_contact}
ul class="actions stacked"
li
<a href="https://manuel.cillero.es/contacto/#suitepro" class="button fit primary">#{l :welcome_contact}</a>
li
<a href="https://manuel.cillero.es/sobre-mi" class="button fit">#{l :welcome_about_me}</a>
<script src="/themes/circlepro/javascripts/frontpage/jquery.scrolly.min.js"></script>
<script src="/themes/circlepro/javascripts/frontpage/browser.min.js"></script>
<script src="/themes/circlepro/javascripts/frontpage/breakpoints.min.js"></script>
<script src="/themes/circlepro/javascripts/frontpage/util.js"></script>
<script src="/themes/circlepro/javascripts/frontpage/main.js"></script>

View file

@ -189,3 +189,34 @@ en:
wiki_pdf_remove_title_info: "When active the Wiki title info will not be displayed in PDF view."
label_copied_to_clipboard: Copied!
label_copy_to_clipboard: Copy to clipboard
welcome_suitepro: Planning, knowledge sharing, clients support and personal productivity, with both powerful and simplicity in mind.
welcome_discover: Discover
welcome_suitepro_is_redmine: "%{suitepro} is powered by %{redmine}, the popular project management and issue tracking solution based on the Ruby on Rails framework. Redmine lets us have a powerful workflow for getting tasks done and keep information in one place."
welcome_spotlight_1_title: "The Basics: Projects,<br /> Tasks, Issue Tracking"
welcome_spotlight_1_text: Keep track of everything, with visual indicators to monitorize tasks and subtasks in order to stay up to date with milestones, track of time, workflows and all that requires attention.
welcome_spotlight_2_title: "Documents, Wikis,<br /> File Management"
welcome_spotlight_2_text: Keep documents and files availables wherever you are. Use the wiki project to save project requeriments, attached files, install and user guides, or meeting minutes at your fingertips.
welcome_spotlight_3_title: "Flexible control<br /> of user access"
welcome_spotlight_3_text: Using a role-based approach, roles are a collection of permissions outlining how users can operate with the projects. Each member of a project can have one or more roles assigned by administrators.
welcome_other_features: Other Features
welcome_feature_1_title: Gantt Chart And Calendar
welcome_feature_1_text: The gantt chart displays issues that have a start date and a due date. The calendar provides an overview of a project as a monthly view.
welcome_feature_2_title: News And Forums
welcome_feature_2_text: News to show information about the status of projects or any other subjects. The forums allow users from a project to communicate with each others.
welcome_feature_3_title: Email notifications And Feeds
welcome_feature_3_text: SuitePro can be configured to receive notifications via email. It also provides web feeds to use with external readers or aggregators.
welcome_feature_4_title: Code Repositories
welcome_feature_4_text: Version Control Systems like Git or Subversion can be used as code repositories and also keep track of changes made to the code.
welcome_feature_5_title: Responsive Design
welcome_feature_5_text: SuitePro is optimized to look great on mobile devices thanks to its responsive design. All pages adapt automatically to the screen size on a mobile phone, tablet or desktop computer.
welcome_feature_6_title: Is Open Source Software
welcome_feature_6_text: It means you are not locked into using a particular vendors system, and its continually evolving in real time as developers add to it and modify it.
welcome_any_questions: Any Questions?
welcome_please_contact: Please feel free to contact me if you need any further information.
welcome_contact: Contact
welcome_about_me: More About Me

View file

@ -29,8 +29,8 @@ es:
alert_only_visible_by_admins: "Sólo puede ser visto por usuarios con permisos de administrador"
alert_only_visible_by_yourself: "Sólo puede ser visto por ti"
button_assign_to_me: Asignar a mi mismo
button_dashboard_delete: "Borrar el dashboard"
button_dashboard_edit: "Editar el dashboard"
button_dashboard_delete: "Borrar el tablero"
button_dashboard_edit: "Editar el tablero"
disabled_modules_info: "Módulos que no estarán disponibles para ser utilizados en los proyectos. Si estos módulos están actualmente activos en proyectos existentes, deberá modificar y guardar esos proyectos primero."
error_issue_status_could_not_changed: El estado de la petición no puede ser modificado
error_issues_could_not_be_assigned_to_me: La petición no puede ser asignada a mi mismo
@ -60,7 +60,7 @@ es:
info_hidden_roles_html: Los roles ocultos sólo se pueden utilizar junto con la visibilidad del usuario "Miembros de proyectos visibles". Si el usuario no está en una función que sea visible para el usuario actual, esta función, que incluye al usuario, se oculta en la página de resumen del proyecto y en las listas de consulta.
invisible_captcha_info_html: En caso de que esta opción se encuentre activa se activará un sistema de protección de SPAM <a href="https://github.com/markets/invisible_captcha" target="_blank">invisible_captcha</a> para la página de registro de usuarios. Esta función solo está disponible si activa el autoregistro.
label_account_login_bottom: "Texto para la página de inicio de sesión"
label_active_dashboard: "Dashboard activo"
label_active_dashboard: "Tablero activo"
label_add_dashboard_block: "Añadir bloque"
label_add_go_to_top: 'Agregar "Volver al inicio"'
label_add_tags: Agregar etiquetas
@ -69,7 +69,7 @@ es:
label_additionals: Additionals
label_app_menu: Menú de aplicación
label_change_is_private: Cambiar privado/no-privado
label_change_to_dashboard: "Cambiar a Dashboard"
label_change_to_dashboard: "Cambiar a Tablero"
label_chart_color_schema: Charts color scheme
label_chart_with_name: "Chart: %{value}"
label_chartjs_colorscheme_info: "Lista de colores"
@ -77,11 +77,11 @@ es:
label_custom_fields_distribution: "Campos customizados para la distribución"
label_custom_menu_items: Entradas de menú personalizadas
label_daily: diario
label_dashboard_author: "Author: %{name}"
label_dashboard_author: "Autor: %{name}"
label_dashboard_legacy_left: "Contenido estándar a la izquierda"
label_dashboard_legacy_right: "Contenido estándar correcto"
label_dashboard_plural: Dashboards
label_dashboard: Dashboard
label_dashboard_plural: Tableros
label_dashboard: Tablero
label_day: día
label_disable_sidebar: "Deshabilitar la barra lateral"
label_disabled_modules: "Módulos desactivados"
@ -117,10 +117,10 @@ es:
label_menu_entry: "Menu item"
label_monthly: mensual
label_my_activity: "Mi actividad"
label_my_dashboard_plural: "Mis dashboards"
label_my_spent_time: My spent time
label_new_additional_dashboard: "Nuevo dashboard"
label_new_dashboard: "Nuevo dashboard"
label_my_dashboard_plural: "Mis tableros"
label_my_spent_time: Mi tiempo dedicado
label_new_additional_dashboard: "Nuevo tablero"
label_new_dashboard: "Nuevo tablero"
label_new_issue_on_profile: Nueva petición en el perfil de usuario
label_new_ticket_message: "Nota para nuevas peticiones"
label_no_permission: "Sin permiso"
@ -135,7 +135,7 @@ es:
label_query_delete: Eliminar consulta
label_query_edit: Editar Consulta
label_query_name_search: Buscar por nombre
label_query_with_name: "Query: %{value}"
label_query_with_name: "Consulta: %{value}"
label_reddit_subject: Tema de Reddit
label_reddit_user_account: Cuenta de usuario de Reddit
label_redmine_org_issue: Peticion de Redmine.org
@ -189,3 +189,34 @@ es:
wiki_pdf_remove_title_info: "Cuando está activa, el título de la Wiki no será mostrado en los PDF."
label_copied_to_clipboard: "¡Copiado!"
label_copy_to_clipboard: "Copia al portapapeles"
welcome_suitepro: Potencia y sencillez para planificar, compartir conocimiento, prestar soporte a clientes y acelerar la productividad.
welcome_discover: Descubre
welcome_suitepro_is_redmine: "%{suitepro} es %{redmine}, la conocida herramienta para la gestión de proyectos y el seguimiento de peticiones basada en Ruby on Rails. Redmine apremia la finalización de las tareas y mantiene la información en un único sitio."
welcome_spotlight_1_title: "Lo Básico: Proyectos,<br /> Tareas, Peticiones"
welcome_spotlight_1_text: Podrás hacer un seguimiento completo de todo, monitorizar tareas y subtareas para estar al día de los hitos de proyecto, controlar los tiempos, los flujos de trabajo o cualquier elemento que requiera atención.
welcome_spotlight_2_title: "Documentos, Wikis,<br /> Gestión de Archivos"
welcome_spotlight_2_text: Organizados para disponer de los documentos y los archivos allá donde se esté. Y el wiki de proyecto para estructurar los requerimientos, las guías de instalación y de usuario, o las actas de trabajo.
welcome_spotlight_3_title: "Control de accesos<br /> flexible"
welcome_spotlight_3_text: Usando permisos agrupados en roles para establecer cómo pueden operar los usuarios en los proyectos. Cada miembro de un proyecto podrá tener uno o más roles asignados por los administradores.
welcome_other_features: Otras Características
welcome_feature_1_title: Diagrama de Gantt y Calendario
welcome_feature_1_text: El diagrama de Gantt muestra las tareas que tienen fecha de inicio y vencimiento. Y el calendario da una visión general de los proyectos en una vista mensual.
welcome_feature_2_title: Noticias y Foros
welcome_feature_2_text: Las noticias muestran información sobre novedades en los proyectos u otros temas de interés. Y los foros permiten que los usuarios de un proyecto se comuniquen entre sí.
welcome_feature_3_title: Notificaciones y Sindicación
welcome_feature_3_text: SuitePro se puede configurar para recibir notificaciones por correo electrónico. Y también proporciona sindicaciones para utilizar con agregadores externos.
welcome_feature_4_title: Repositorios de Código
welcome_feature_4_text: Sistemas de Control de Versiones como Git o Subversion pueden usarse como repositorios de código y seguir desde SuitePro los cambios realizados en el código.
welcome_feature_5_title: Responsive Design
welcome_feature_5_text: SuitePro está optimizado para visualizarse en dispositivos móviles. Las páginas se adaptan automáticamente al tamaño de la pantalla, ya sea un teléfono móvil, una tableta o un ordenador.
welcome_feature_6_title: Es Software de Código Abierto
welcome_feature_6_text: Esto supone no estar limitado por ningún proveedor, y seguir en permanente evolución con desarrolladores que se involucran continuamente.
welcome_any_questions: ¿Alguna Pregunta?
welcome_please_contact: No dudar en contactar conmigo para obtener más información.
welcome_contact: Contactar
welcome_about_me: Más Sobre Mí