Mejora la visualización de los mensajes de Git

Se añaden estilos para visualizar mejor los mensajes de confirmación en
los repositorios de los proyectos, en las revisiones y también en las
mismas revisiones adjuntas a las peticiones.
This commit is contained in:
Manuel Cillero 2020-04-19 08:42:27 +02:00
parent 4b3cc8920e
commit aeff86b6dc
4 changed files with 44 additions and 18 deletions

View file

@ -143,7 +143,7 @@ redmine_wiki_lists
## Otros archivos del *core* modificados ## Otros archivos del *core* modificados
``` ```
suitepro suitepro
| |
+-- /app/controllers/wiki_controller.rb +-- /app/controllers/wiki_controller.rb
| | | |
@ -151,7 +151,11 @@ suitepro
| | | |
| +-- /views/account/login.html.erb | +-- /views/account/login.html.erb
| | | |
| +-- /issues/_changesets.html.erb
| |
| +-- /layouts/base.html.erb | +-- /layouts/base.html.erb
| |
| +-- /repositories/_changeset.html.erb
| |
+-- /config/locales/en.yml +-- /config/locales/en.yml
| | | |

View file

@ -13,8 +13,6 @@
<% end %> <% end %>
<br /> <br />
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
<div class="wiki changeset-comments"> <div class="wiki changeset-comments"><%= format_changeset_comments changeset %></div>
<%= format_changeset_comments changeset %>
</div>
</div> </div>
<% end %> <% end %>

View file

@ -33,9 +33,7 @@
</div> </div>
<div class="wiki changeset-comments"> <div class="wiki changeset-comments"><%= format_changeset_comments @changeset %></div>
<%= format_changeset_comments @changeset %>
</div>
<% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %> <% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %>
<%= render :partial => 'related_issues' %> <%= render :partial => 'related_issues' %>

View file

@ -27,10 +27,11 @@
* 21. TABS * 21. TABS
* 22. TABLES * 22. TABLES
* 23. OBJECTS * 23. OBJECTS
* 24. GLOSSARY * 24. REPOSITORIES
* 25. RESPONSIVE * 25. GLOSSARY
* 26. SELECT2 * 26. RESPONSIVE
* 27. PRINTING * 27. SELECT2
* 28. PRINTING
* *
* Based on Circle Theme by Kirill Bezrukov. * Based on Circle Theme by Kirill Bezrukov.
*/ */
@ -1364,9 +1365,9 @@ only screen and (min-device-pixel-ratio: 2) {
} }
@-moz-document url-prefix() { @-moz-document url-prefix() {
select { select {
padding: 4px 0px 4px 5px; padding: 0 18px 0 5px;
} }
} }
select::-ms-expand { select::-ms-expand {
@ -1535,7 +1536,32 @@ table.progress td { padding: 0px; }
div.details { padding: 20px !important; } div.details { padding: 20px !important; }
/**********************************************************/ /**********************************************************/
/* 24. GLOSSARY */ /* 24. REPOSITORIES */
/**********************************************************/
div.changeset-comments,
tr.changeset > td.comments {
font-family: monospace, Courier, Consolas, Menlo, "Liberation Mono";
unicode-bidi: embed;
white-space: pre;
font-size: 14px;
line-height: 1.2em;
overflow-y: auto;
}
tr.changeset > td.comments {
padding-top: .7em;
}
body.controller-repositories.action-revision div.changeset-comments {
padding: 0 20px 20px;
margin-top: -30px;
}
body.controller-issues.action-show div.changeset-comments {
font-size: 12px;
padding-bottom: 10px;
}
/**********************************************************/
/* 25. GLOSSARY */
/**********************************************************/ /**********************************************************/
#glossary_search_params { #glossary_search_params {
@ -1584,7 +1610,7 @@ form[class$="glossary_style"] #grouping label {
} }
/**********************************************************/ /**********************************************************/
/* 25. RESPONSIVE */ /* 26. RESPONSIVE */
/**********************************************************/ /**********************************************************/
@media screen and (max-width: 1239px) { @media screen and (max-width: 1239px) {
@ -1760,7 +1786,7 @@ form[class$="glossary_style"] #grouping label {
} }
/**********************************************************/ /**********************************************************/
/* 26. SELECT2 */ /* 27. SELECT2 */
/**********************************************************/ /**********************************************************/
.theme-Circlepro .select2-container--default .select2-selection--single { .theme-Circlepro .select2-container--default .select2-selection--single {
@ -1803,7 +1829,7 @@ form[class$="glossary_style"] #grouping label {
} }
/**********************************************************/ /**********************************************************/
/* 27. PRINTING */ /* 28. PRINTING */
/**********************************************************/ /**********************************************************/
@media print { @media print {