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
```
suitepro
suitepro
|
+-- /app/controllers/wiki_controller.rb
| |
@ -151,7 +151,11 @@ suitepro
| |
| +-- /views/account/login.html.erb
| |
| +-- /issues/_changesets.html.erb
| |
| +-- /layouts/base.html.erb
| |
| +-- /repositories/_changeset.html.erb
|
+-- /config/locales/en.yml
| |

View file

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

View file

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

View file

@ -27,10 +27,11 @@
* 21. TABS
* 22. TABLES
* 23. OBJECTS
* 24. GLOSSARY
* 25. RESPONSIVE
* 26. SELECT2
* 27. PRINTING
* 24. REPOSITORIES
* 25. GLOSSARY
* 26. RESPONSIVE
* 27. SELECT2
* 28. PRINTING
*
* Based on Circle Theme by Kirill Bezrukov.
*/
@ -1365,7 +1366,7 @@ only screen and (min-device-pixel-ratio: 2) {
@-moz-document url-prefix() {
select {
padding: 4px 0px 4px 5px;
padding: 0 18px 0 5px;
}
}
@ -1535,7 +1536,32 @@ table.progress td { padding: 0px; }
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 {
@ -1584,7 +1610,7 @@ form[class$="glossary_style"] #grouping label {
}
/**********************************************************/
/* 25. RESPONSIVE */
/* 26. RESPONSIVE */
/**********************************************************/
@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 {
@ -1803,7 +1829,7 @@ form[class$="glossary_style"] #grouping label {
}
/**********************************************************/
/* 27. PRINTING */
/* 28. PRINTING */
/**********************************************************/
@media print {