Commit d704301937f325458730226bcd75e61d4e0652d8

Authored by Diego Camarinha
1 parent b113b9d9

Tooltip messages for projects and repositories.

Signed off by: Heitor Reis <marcheing@gmail.com>
app/views/projects/_form.html.erb
... ... @@ -8,11 +8,6 @@
8 8 <%= f.label :name, class: 'control-label' %><br>
9 9 <%= f.text_field :name, class: 'text-field ' %>
10 10 </div>
11   - <div class="help-container">
12   - <p>
13   - The name of your Project.
14   - </p>
15   - </div>
16 11 </div>
17 12  
18 13 <div class="form-row">
... ... @@ -20,11 +15,6 @@
20 15 <%= f.label :description, class: 'control-label' %><br>
21 16 <%= f.text_area :description, class: 'text-area' %>
22 17 </div>
23   - <div class="help-container">
24   - <p>
25   - A short description of your Project.
26   - </p>
27   - </div>
28 18 </div>
29 19 </div>
30 20 </div>
... ...
app/views/repositories/_form.html.erb
... ... @@ -35,7 +35,7 @@
35 35 </div>
36 36 <div class="help-container">
37 37 <p>
38   - The software license.
  38 + The source code's license.
39 39 </p>
40 40 </div>
41 41 </div>
... ... @@ -47,7 +47,7 @@
47 47 </div>
48 48 <div class="help-container">
49 49 <p>
50   - The version control system the software uses.
  50 + The version control system the Repository uses.
51 51 </p>
52 52 </div>
53 53 </div>
... ... @@ -71,7 +71,7 @@
71 71 </div>
72 72 <div class="help-container">
73 73 <p>
74   - Select how often the Project will be reanalyzed.
  74 + Select how often the Repository will be reprocessed.
75 75 </p>
76 76 </div>
77 77 </div>
... ... @@ -84,7 +84,7 @@
84 84 </div>
85 85 <div class="help-container">
86 86 <p>
87   - A Configuration defines all the metrics to be analyzed in the source code. Choose your weapon!
  87 + A <%= link_to 'Configuration', tutorials_path('keywords', anchor: 'configuration') %> defines all the metrics to be calculated in the source code. Choose your weapon!
88 88 </p>
89 89 </div>
90 90 </div>
... ...
app/views/tutorials/keywords.html.erb
... ... @@ -42,7 +42,7 @@
42 42 <div>
43 43 <h3 id="configuration">Configuration</h3>
44 44  
45   - <p></p>
  45 + <p>A set of <i>metrics</i>.</p>
46 46 </div>
47 47 <div>
48 48 <h3 id="metric_result">Metric Result</h3>
... ... @@ -52,7 +52,7 @@
52 52  
53 53 <div>
54 54 <h3 id="metric">Metric</h3>
55   - <p>A software metric is a quantitative measure of some property of a module. For more details see
  55 + <p>A software metric is a quantitative measure of some property of a <i>module</i>. For more details see
56 56 <%= link_to 'Carlos Morais dissertation', 'http://www.teses.usp.br/teses/disponiveis/45/45134/tde-25092013-142158/publico/dissertacao.pdf' %>.</p>
57 57 </div>
58 58 </div>
... ...