From c12d42c144d8e2d0f6147b4aa1f0d9efbfed95d4 Mon Sep 17 00:00:00 2001 From: Diego Araújo Date: Fri, 15 Apr 2016 15:05:16 -0300 Subject: [PATCH] Change tutorial's links to point to mezuro.github.io --- app/views/compound_metric_configurations/_form.html.erb | 4 ++-- app/views/kalibro_ranges/_form.html.erb | 6 +++--- app/views/metric_configurations/_form.html.erb | 6 +++--- app/views/repositories/_form.html.erb | 2 +- app/views/tutorials/configuring.en.html.erb | 2 +- app/views/tutorials/configuring.pt.html.erb | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/views/compound_metric_configurations/_form.html.erb b/app/views/compound_metric_configurations/_form.html.erb index 4dcdaf0..43bf711 100644 --- a/app/views/compound_metric_configurations/_form.html.erb +++ b/app/views/compound_metric_configurations/_form.html.erb @@ -13,7 +13,7 @@

- <%= t('calculate_weighted_average_html', :href => link_to(t('module'), tutorials_path("keywords", anchor: "module"))) %> + <%= t('calculate_weighted_average_html', :href => link_to(t('module'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#metric", target: "_blank")) %>

@@ -30,7 +30,7 @@

- <%= t('associated_metric_configuration_form_html', :href => link_to(t('reading_group'), tutorials_path('keywords', anchor: 'reading_group'))) %> + <%= t('associated_metric_configuration_form_html', :href => link_to(t('reading_group'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading-group", target: "_blank")) %>

diff --git a/app/views/kalibro_ranges/_form.html.erb b/app/views/kalibro_ranges/_form.html.erb index 18ba545..656fece 100644 --- a/app/views/kalibro_ranges/_form.html.erb +++ b/app/views/kalibro_ranges/_form.html.erb @@ -14,8 +14,8 @@

<%= t_hint('reading', 'kalibro_range', - reading_href: link_to(t('reading'), tutorials_path('keywords', anchor: 'reading')), - range_href: link_to(KalibroRange.model_name.human, tutorials_path('keywords', anchor: 'range')) + reading_href: link_to(t('reading'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading", target: "_blank"), + range_href: link_to(KalibroRange.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#range", target: "_blank") ).html_safe %>

@@ -65,7 +65,7 @@

- <%= t_hint('comments', 'kalibro_range', metric_href: link_to(t('metric'), tutorials_path('keywords', anchor: 'metric'))).html_safe %> + <%= t_hint('comments', 'kalibro_range', metric_href: link_to(t('metric'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#metric", target: "_blank")).html_safe %>

diff --git a/app/views/metric_configurations/_form.html.erb b/app/views/metric_configurations/_form.html.erb index 071b57f..224b94f 100644 --- a/app/views/metric_configurations/_form.html.erb +++ b/app/views/metric_configurations/_form.html.erb @@ -10,7 +10,7 @@

- <%= t('calculate_weighted_average_html', href: link_to(KalibroModule.model_name.human, tutorials_path("keywords", anchor: "module"))) %> + <%= t('calculate_weighted_average_html', href: link_to(KalibroModule.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#module", target: "_blank")) %>

@@ -22,7 +22,7 @@

- <%= t('aggregation_form_helper_html', href: link_to(t('granularity'), tutorials_path('keywords', anchor: 'granularity'))) %> + <%= t('aggregation_form_helper_html', href: link_to(t('granularity'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#granularity", target: "_blank")) %>

@@ -38,7 +38,7 @@

- <%= t('reading_group_helper_html', href: link_to(ReadingGroup.model_name.human, tutorials_path('keywords', anchor: 'reading-group'))) %> + <%= t('reading_group_helper_html', href: link_to(ReadingGroup.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading-group", target: "_blank")) %>

diff --git a/app/views/repositories/_form.html.erb b/app/views/repositories/_form.html.erb index d3865c6..7a96a4e 100644 --- a/app/views/repositories/_form.html.erb +++ b/app/views/repositories/_form.html.erb @@ -97,7 +97,7 @@

- <%= t('activemodel.hints.repository.kalibro_configuration', configuration_href: link_to(KalibroConfiguration.model_name.human, tutorials_path('keywords', anchor: 'configuration'))).html_safe %> + <%= t('activemodel.hints.repository.kalibro_configuration', configuration_href: link_to(KalibroConfiguration.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#configuration", target: "_blank")).html_safe %>

diff --git a/app/views/tutorials/configuring.en.html.erb b/app/views/tutorials/configuring.en.html.erb index b5e21f3..4ec31f2 100644 --- a/app/views/tutorials/configuring.en.html.erb +++ b/app/views/tutorials/configuring.en.html.erb @@ -16,7 +16,7 @@ In order to create a Configuration, you must:

Introduction

-To process a repository, Mezuro uses configurations which you specify on the <%= link_to(t('repository_creation'), tutorials_path('analyzing')) %>. +To process a repository, Mezuro uses configurations which you specify on the <%= link_to(t('repository_creation'), "http://mezuro.github.io/tutorial/2016/04/01/tutorial-analysis.html", target: "_blank") %>.

Configuration components

diff --git a/app/views/tutorials/configuring.pt.html.erb b/app/views/tutorials/configuring.pt.html.erb index 26b3468..d28e8f5 100644 --- a/app/views/tutorials/configuring.pt.html.erb +++ b/app/views/tutorials/configuring.pt.html.erb @@ -16,7 +16,7 @@ Para criar uma configuração, é necessário:

Introdução

-Para processar um repositório, o Mezuro utiliza configurações que você especifica no <%= link_to(t('repository_creation'), tutorials_path('analyzing')) %>. +Para processar um repositório, o Mezuro utiliza configurações que você especifica no <%= link_to(t('repository_creation'), "http://mezuro.github.io/tutorial/2016/04/01/tutorial-analysis.html", target: "_blank") %>.

Componentes de Configuração

-- libgit2 0.21.2