From ab8b5efd3bd4ca1221419da0c22525d955aea55c Mon Sep 17 00:00:00 2001 From: Juanfran Date: Mon, 2 Feb 2015 12:51:57 +0100 Subject: [PATCH] remove duplicated & unused jade files --- .../includes/components/kanban-task.jade | 22 --------- app/partials/includes/modules/nav.jade | 48 ------------------- .../modules/search-result-issues-table.jade | 15 ------ app/partials/issue/issues-status-display.jade | 9 ---- 4 files changed, 94 deletions(-) delete mode 100644 app/partials/includes/components/kanban-task.jade delete mode 100644 app/partials/includes/modules/nav.jade delete mode 100644 app/partials/includes/modules/search-result-issues-table.jade delete mode 100644 app/partials/issue/issues-status-display.jade diff --git a/app/partials/includes/components/kanban-task.jade b/app/partials/includes/components/kanban-task.jade deleted file mode 100644 index df075a13..00000000 --- a/app/partials/includes/components/kanban-task.jade +++ /dev/null @@ -1,22 +0,0 @@ -div.kanban-tagline(tg-colorize-tags="us.tags", tg-colorize-tags-type="kanban", ng-hide="us.isArchived") -div.kanban-task-inner(ng-class="{'task-archived': us.isArchived}") - div.avatar-wrapper(tg-kanban-user-avatar="us.assigned_to", ng-model="us", ng-hide="us.isArchived") - div.task-text(ng-hide="us.isArchived") - a.task-assigned(href="", title="Assign User Story") - span.task-num(tg-bo-ref="us.ref") - a.task-name(href="", title="See user story detail", ng-bind="us.subject", - tg-nav="project-userstories-detail:project=project.slug,ref=us.ref") - - p.task-points(href="", title="Total Us points") - span(ng-if="us.total_points !== null", ng-bind="us.total_points") - span(ng-if="us.total_points !== null") points - span(ng-if="us.total_points === null") Not estimated - - div.task-archived-text(ng-show="us.isArchived") - p You have archived - p - span.task-num(tg-bo-ref="us.ref") - span.task-name(ng-bind="us.subject") - p Drag & drop again to undo - - a.icon.icon-edit(tg-check-permission="modify_us", href="", title="Edit", ng-hide="us.isArchived") diff --git a/app/partials/includes/modules/nav.jade b/app/partials/includes/modules/nav.jade deleted file mode 100644 index 738da6e4..00000000 --- a/app/partials/includes/modules/nav.jade +++ /dev/null @@ -1,48 +0,0 @@ -// This menu is deprecated and it is only available -// for correct not integrated pages. -// The compiled version of this is embedded in coffescript -// due to mandatory tricky hacks related to scope resolution. -// Check base.coffee for the JS template -nav.menu - h1.logo - a(href="", title="Home") - img(src="/images/logo.png", alt="Taiga") - ul.main-nav - li(data-name="search") - a(href="", title="Search", tg-nav="project-search:project=project.slug") - span.icon.icon-search - span.item Search - li(data-name="backlog", tg-nav="project-backlog:project=project.slug") - a.active(href="", title="Backlog") - span.icon.icon-backlog - span.item Backlog - li(data-name="kanban") - a(href="", title="Kanban") - span.icon.icon-kanban - span.item Kanban - li(data-name="issues") - a(href="", title="Issues", tg-nav="project-issues:project=project.slug") - span.icon.icon-issues - span.item Issues - li(data-name="wiki") - a(href="", title="Wiki") - span.icon.icon-wiki - span.item Wiki - li(data-name="video") - a(href="", title="Meet Up") - span.icon.icon-video - span.item Meet Up - div.user - div.user-settings - ul.popover - li - a(href="", title="Account settings") Account settings - li - a(href="", title="Logout") Logout - a.avatar(href="", title="User preferences") - img(src="http://thecodeplayer.com/u/uifaces/12.jpg", alt="username") - - div.settings - a(href="", title="User preferences") Pilar - a(href="", title="Site preferences") - span.icon.icon-settings diff --git a/app/partials/includes/modules/search-result-issues-table.jade b/app/partials/includes/modules/search-result-issues-table.jade deleted file mode 100644 index b9ce175b..00000000 --- a/app/partials/includes/modules/search-result-issues-table.jade +++ /dev/null @@ -1,15 +0,0 @@ -section.search-result-table.basic-table - div.row.title - div.user-stories.width-6 Issue - div.status.width-2 Status - div.points.width-1 Assigned to - - for (var x = 0; x < 50; x++) - div.row.table-main - div.user-stories.width-6 - div.user-story-name - a(href="") Crear el perfil de usuario Senior en el admin - div.status.width-2 Status - div.points.width-1 - figure.avatar - img(src="http://thecodeplayer.com/u/uifaces/12.jpg", alt="username") - figcaption Pilar \ No newline at end of file diff --git a/app/partials/issue/issues-status-display.jade b/app/partials/issue/issues-status-display.jade deleted file mode 100644 index fd283835..00000000 --- a/app/partials/issue/issues-status-display.jade +++ /dev/null @@ -1,9 +0,0 @@ -span - <% if (status.is_closed) { %> - | Closed - <% } else { %> - | Open - <% } %> - -span(class="us-detail-status", style!="color:<%- status.color %>") - | <%- status.name %>