1. Daniel Greenfeld
  2. transifex

Commits

Dimitris Glezos  committed 67e7259

Better organization of page titles for comp and releases.

  • Participants
  • Parent commits ae7a17d
  • Branches default

Comments (0)

Files changed (4)

File transifex/site_media/css/base.css

View file
   letter-spacing: -2px;
 }
 
+div#content div.obj_bigdetails h2.pagetitle { margin-left: 0; }
+
 div#content h2.pagesubtitle {
   color: #0d4c8c;
   font-weight: normal;
   letter-spacing: -2px;
 }
 
+div#content h3.pagesubtitle {
+  text-transform: uppercase;
+  font-size: 130%;
+}
+
 div#body {
   clear: both;
   background-color: white;
 div.obj_bigdetails h2.name {
   color: #0d4c8c !important;
   font-weight: normal !important;
-  font-size: 3em !important;
+  font-size: 2.6em !important;
   font-family: "Georgia", serif;
   letter-spacing: -2px;
 }

File transifex/templates/projects/component_detail.html

View file
 
 {% block body_class %}{{ block.super }} project_detail{% endblock %}
 
-{% block title %}{% with component.project as project %}{{ block.super }} | {{ component.name }}{% endwith %}{% endblock %}
+{% block title %}{% with component.project as project %}{{ block.super }} | Component '{{ component.name }}'{% endwith %}{% endblock %}
 
 {% block breadcrumb %}{% with component.project as project %}{{ block.super }}
-» {{ component.name }}{% endwith %}{% endblock %}
-
+» Component '{{ component.name }}'{% endwith %}{% endblock %}
 
 {% block content_main %}
   <div class="obj_bigdetails">
-  <h2 class="name">{{ component.project.name }} &raquo; {{ component.name }}</h2>
+
+  <h2 class="pagetitle">{{ component.project.name }}</h2>
+
+  <h3 class="pagesubtitle">Component '{{ component.name }}'</h3>
 
   {% if component.description %}<p class="description">{{ component.description }}</p>{% endif %}
 

File transifex/templates/projects/project_detail.html

View file
 
 {% block content_main %}
   <div class="obj_bigdetails">
-  <h2 class="name">{{ project.name }}</h2>
+  <h2 class="pagetitle">{{ project.name }}</h2>
 
   <p class="description">{% firstof project.description project.name %}</p>
 

File transifex/templates/projects/release_details.html

View file
 {% block extra_head %}
   <script type="text/javascript" src="{{ MEDIA_URL }}js/tablesorted.js"></script>
   <link media="screen" href="{{ MEDIA_URL }}css/tablesorter.css" type="text/css" rel="stylesheet" />
+  {% include "translations/stats_table_filter_header.html" %}
 {% endblock %}
 
 {% block body_class %}{{ block.super }} release_detail{% endblock %}
 
-{% block title %}{{ block.super }} | {{ release.name }}{% endblock %}
+{% block title %}{{ block.super }} | Release '{{ release.name }}'{% endblock %}
 
-{% block breadcrumb %}{{ block.super }} &raquo; {{ release.name }}{% endblock %}
+{% block breadcrumb %}{{ block.super }} &raquo; Release '{{ release.name }}'{% endblock %}
 
 {% block content_main %}
   <div class="obj_bigdetails">
-  <h2 class="name">{{ release.project.name }} &raquo; {{ release }}</h2>
+  <h2 class="pagetitle">{{ release.project.name }}</h2>
+  <h3 class="pagesubtitle">Release '{{ release }}'</h3>
   
   {% if release.description %}<p class="description">{{ release.description }}</p>{% endif %}