Commit 372863e2557a3846b34f91bd6a107a3415e5635f

Authored by Felipe Henrique de Almeida Bormann
1 parent 117900b2

solved design issues and some messages

amadeus/static/css/base/amadeus.css
... ... @@ -111,6 +111,19 @@ a:focus {
111 111 /* side bar menu ends*/
112 112  
113 113 /* category app starts */
  114 +.resource-panel > .panel-heading{
  115 + padding: 0px 0px;
  116 + background-color: #BDBDBD;
  117 +}
  118 +
  119 +.resource-panel .btn-group{
  120 + margin: 0px 0px;
  121 +}
  122 +
  123 +.resource-panel h4{
  124 + margin-top: 8px !important;
  125 +}
  126 +
114 127 .category-panel > .panel-heading, .subject-panel > .panel-heading, .special-panel > .panel-heading, .topic-panel > .panel-heading, .group-panel > .panel-heading {
115 128 padding: 2px 0px;
116 129 }
... ...
subjects/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -179,7 +179,7 @@ msgstr "Resultados da busca"
179 179  
180 180 #: subjects/templates/subjects/list_search.html:33
181 181 msgid " any subjects or resources were found on the search for "
182   -msgstr " quaisquer assuntos ou recursos foram encontrados na busca por "
  182 +msgstr " Nenhum assunto ou recursos foram encontrados na busca por "
183 183  
184 184 #: subjects/templates/subjects/list_search.html:38
185 185 #: subjects/templates/subjects/list_search.html:41 subjects/views.py:624
... ...
subjects/templates/subjects/list_search.html
... ... @@ -30,7 +30,7 @@
30 30 {% if subjects|length > 0 %}
31 31 <p id="search-results-title">{% trans "Search results" %}:</p>
32 32 {% else %}
33   - <p id="search-results-title">{% trans "Search results" %}: {% trans " any subjects or resources were found on the search for " %} {{tags}} </p>
  33 + <p id="search-results-title">{% trans "Search results" %}: {% trans " Any subjects or Resources were not found on the search for " %} {{tags}} </p>
34 34 {% endif %}
35 35 <div id="core-subjects-options-div">
36 36 <ul class="core-subjects-options">
... ...
subjects/templates/subjects/resource_card.html
... ... @@ -3,7 +3,7 @@
3 3 {% resource_permissions request.user resource as has_resource_permissions %}
4 4 {% subject_permissions request.user resource.topic.subject as has_subject_permissions %}
5 5 {% if has_resource_permissions %}
6   - <div class="panel panel-info subject-panel">
  6 + <div class="panel panel-info resource-panel">
7 7 <div class="panel-heading">
8 8  
9 9 <div class="row">
... ...