Makes generic logos and avatars, and removes unused images
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 7.5 KiB |
BIN
app/assets/images/avatar_admin.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
app/assets/images/avatar_moderator.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 22 KiB |
BIN
app/assets/images/logo_email.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
BIN
app/assets/images/logo_header.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
@@ -10,14 +10,14 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% if comment.as_administrator? %>
|
<% if comment.as_administrator? %>
|
||||||
<%= image_tag("admin_avatar.png", size: 32, class: "admin-avatar float-left") %>
|
<%= image_tag("avatar_admin.png", size: 32, class: "admin-avatar float-left") %>
|
||||||
<% elsif comment.as_moderator? %>
|
<% elsif comment.as_moderator? %>
|
||||||
<%= image_tag("moderator_avatar.png", size: 32, class: "moderator-avatar float-left") %>
|
<%= image_tag("avatar_moderator.png", size: 32, class: "moderator-avatar float-left") %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% if comment.user.hidden? || comment.user.erased? %>
|
<% if comment.user.hidden? || comment.user.erased? %>
|
||||||
<span class="icon-deleted user-deleted"></span>
|
<span class="icon-deleted user-deleted"></span>
|
||||||
<% elsif comment.user.organization? %>
|
<% elsif comment.user.organization? %>
|
||||||
<%= image_tag("collective_avatar.png", size: 32, class: "avatar float-left") %>
|
<%= image_tag("avatar_collective.png", size: 32, class: "avatar float-left") %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= avatar_image(comment.user, seed: comment.user_id, size: 32, class: "float-left") %>
|
<%= avatar_image(comment.user, seed: comment.user_id, size: 32, class: "float-left") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<div id="responsive-menu">
|
<div id="responsive-menu">
|
||||||
<div class="top-bar-title">
|
<div class="top-bar-title">
|
||||||
<%= link_to root_path, class: "hide-for-small-only" do %>
|
<%= link_to root_path, class: "hide-for-small-only" do %>
|
||||||
<%= image_tag('header_logo_madrid.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
||||||
<%= Setting['org_name'] %>
|
<%= Setting['org_name'] %>
|
||||||
| <%= t("admin.dashboard.index.title") %>
|
| <%= t("admin.dashboard.index.title") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<div id="responsive-menu">
|
<div id="responsive-menu">
|
||||||
<div class="top-bar-title">
|
<div class="top-bar-title">
|
||||||
<%= link_to root_path, class: "hide-for-small-only", accesskey: "/" do %>
|
<%= link_to root_path, class: "hide-for-small-only", accesskey: "/" do %>
|
||||||
<%= image_tag('header_logo_madrid.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
||||||
<% if opendata_page? %>
|
<% if opendata_page? %>
|
||||||
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}") %> <span>|</span>
|
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}") %> <span>|</span>
|
||||||
<span class="logo-site"><%= t("layouts.header.open_data") %></span>
|
<span class="logo-site"><%= t("layouts.header.open_data") %></span>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<div class="small-12 medium-8 large-5 column small-centered margin-top">
|
<div class="small-12 medium-8 large-5 column small-centered margin-top">
|
||||||
<h1>
|
<h1>
|
||||||
<%= link_to root_path do %>
|
<%= link_to root_path do %>
|
||||||
<%= image_tag('header_logo_madrid.png', class: 'show-for-medium float-left', size: '96x96', alt: t("layouts.header.logo")) %>
|
<%= image_tag('logo_header.png', class: 'show-for-medium float-left', size: '96x96', alt: t("layouts.header.logo")) %>
|
||||||
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %>
|
<%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td style="border-bottom: 1px solid #dadfe1; padding: 20px 0;">
|
<td style="border-bottom: 1px solid #dadfe1; padding: 20px 0;">
|
||||||
<a href="#" target="_blank">
|
<a href="#" target="_blank">
|
||||||
<%= image_tag('logo_email_gobierno_abierto.png', style: "border: 0; display: block; width: 100%;max-width: 370px", alt: setting['org_name']) %>
|
<%= image_tag('logo_email.png', style: "border: 0; display: block; width: 100%;max-width: 370px", alt: setting['org_name']) %>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<div id="responsive-menu">
|
<div id="responsive-menu">
|
||||||
<div class="top-bar-title">
|
<div class="top-bar-title">
|
||||||
<%= link_to management_root_path, class: "hide-for-small-only" do %>
|
<%= link_to management_root_path, class: "hide-for-small-only" do %>
|
||||||
<%= image_tag('header_logo_madrid.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
||||||
<%= Setting['org_name'] %>
|
<%= Setting['org_name'] %>
|
||||||
| <%= t("management.dashboard.index.title") %>
|
| <%= t("management.dashboard.index.title") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||