Commit 1bcc887285a5c04ab348888c027de2fe2a45220e
Exists in
colab
and in
2 other branches
Merge pull request #340 from mezuro/fix_tooltip_links
Change tutorial's links to point to mezuro.github.io
Showing
6 changed files
with
11 additions
and
11 deletions
Show diff stats
app/views/compound_metric_configurations/_form.html.erb
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | </div> | 13 | </div> |
14 | <div class="help-container"> | 14 | <div class="help-container"> |
15 | <p> | 15 | <p> |
16 | - <%= t('calculate_weighted_average_html', :href => link_to(t('module'), tutorials_path("keywords", anchor: "module"))) %> | 16 | + <%= t('calculate_weighted_average_html', :href => link_to(t('module'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#metric", target: "_blank")) %> |
17 | </p> | 17 | </p> |
18 | </div> | 18 | </div> |
19 | </div> | 19 | </div> |
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | </div> | 30 | </div> |
31 | <div class="help-container"> | 31 | <div class="help-container"> |
32 | <p> | 32 | <p> |
33 | - <%= t('associated_metric_configuration_form_html', :href => link_to(t('reading_group'), tutorials_path('keywords', anchor: 'reading_group'))) %> | 33 | + <%= 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")) %> |
34 | </p> | 34 | </p> |
35 | </div> | 35 | </div> |
36 | </div> | 36 | </div> |
app/views/kalibro_ranges/_form.html.erb
@@ -14,8 +14,8 @@ | @@ -14,8 +14,8 @@ | ||
14 | <div class="help-container"> | 14 | <div class="help-container"> |
15 | <p> | 15 | <p> |
16 | <%= t_hint('reading', 'kalibro_range', | 16 | <%= t_hint('reading', 'kalibro_range', |
17 | - reading_href: link_to(t('reading'), tutorials_path('keywords', anchor: 'reading')), | ||
18 | - range_href: link_to(KalibroRange.model_name.human, tutorials_path('keywords', anchor: 'range')) | 17 | + reading_href: link_to(t('reading'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#reading", target: "_blank"), |
18 | + range_href: link_to(KalibroRange.model_name.human, "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#range", target: "_blank") | ||
19 | ).html_safe | 19 | ).html_safe |
20 | %> | 20 | %> |
21 | </p> | 21 | </p> |
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | </div> | 65 | </div> |
66 | <div class="help-container"> | 66 | <div class="help-container"> |
67 | <p> | 67 | <p> |
68 | - <%= t_hint('comments', 'kalibro_range', metric_href: link_to(t('metric'), tutorials_path('keywords', anchor: 'metric'))).html_safe %> | 68 | + <%= 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 %> |
69 | </p> | 69 | </p> |
70 | </div> | 70 | </div> |
71 | </div> | 71 | </div> |
app/views/metric_configurations/_form.html.erb
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | </div> | 10 | </div> |
11 | <div class="help-container"> | 11 | <div class="help-container"> |
12 | <p> | 12 | <p> |
13 | - <%= t('calculate_weighted_average_html', href: link_to(KalibroModule.model_name.human, tutorials_path("keywords", anchor: "module"))) %> | 13 | + <%= 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")) %> |
14 | </p> | 14 | </p> |
15 | </div> | 15 | </div> |
16 | </div> | 16 | </div> |
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | </div> | 22 | </div> |
23 | <div class="help-container"> | 23 | <div class="help-container"> |
24 | <p> | 24 | <p> |
25 | - <%= t('aggregation_form_helper_html', href: link_to(t('granularity'), tutorials_path('keywords', anchor: 'granularity'))) %> | 25 | + <%= t('aggregation_form_helper_html', href: link_to(t('granularity'), "http://mezuro.github.io/tutorial/2016/04/04/tutorial-keywords.html#granularity", target: "_blank")) %> |
26 | </p> | 26 | </p> |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |
@@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
38 | </div> | 38 | </div> |
39 | <div class="help-container"> | 39 | <div class="help-container"> |
40 | <p> | 40 | <p> |
41 | - <%= t('reading_group_helper_html', href: link_to(ReadingGroup.model_name.human, tutorials_path('keywords', anchor: 'reading-group'))) %> | 41 | + <%= 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")) %> |
42 | </p> | 42 | </p> |
43 | </div> | 43 | </div> |
44 | </div> | 44 | </div> |
app/views/repositories/_form.html.erb
@@ -97,7 +97,7 @@ | @@ -97,7 +97,7 @@ | ||
97 | </div> | 97 | </div> |
98 | <div class="help-container"> | 98 | <div class="help-container"> |
99 | <p> | 99 | <p> |
100 | - <%= t('activemodel.hints.repository.kalibro_configuration', configuration_href: link_to(KalibroConfiguration.model_name.human, tutorials_path('keywords', anchor: 'configuration'))).html_safe %> | 100 | + <%= 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 %> |
101 | </p> | 101 | </p> |
102 | </div> | 102 | </div> |
103 | </div> | 103 | </div> |
app/views/tutorials/configuring.en.html.erb
@@ -16,7 +16,7 @@ In order to create a Configuration, you must: | @@ -16,7 +16,7 @@ In order to create a Configuration, you must: | ||
16 | 16 | ||
17 | <h3>Introduction</h3> | 17 | <h3>Introduction</h3> |
18 | 18 | ||
19 | -To process a repository, Mezuro uses configurations which you specify on the <%= link_to(t('repository_creation'), tutorials_path('analyzing')) %>. | 19 | +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") %>. |
20 | 20 | ||
21 | <h4>Configuration components</h4> | 21 | <h4>Configuration components</h4> |
22 | 22 |
app/views/tutorials/configuring.pt.html.erb
@@ -16,7 +16,7 @@ Para criar uma configuração, é necessário: | @@ -16,7 +16,7 @@ Para criar uma configuração, é necessário: | ||
16 | 16 | ||
17 | <h3>Introdução</h3> | 17 | <h3>Introdução</h3> |
18 | 18 | ||
19 | -Para processar um repositório, o Mezuro utiliza configurações que você especifica no <%= link_to(t('repository_creation'), tutorials_path('analyzing')) %>. | 19 | +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") %>. |
20 | 20 | ||
21 | <h4>Componentes de Configuração</h4> | 21 | <h4>Componentes de Configuração</h4> |
22 | 22 |