Commit 0b5f048f authored by Evren Kutar's avatar Evren Kutar

missing translation

quick menu fix
parent dd34c80c
<div class="row"> <div class="container-fluid">
<div ng-class="{'col-md-8': meta.allow_filters}"> <div ng-class="{'col-md-8': meta.allow_filters}">
<h3>{{ schema.title }}</h3> <h3>{{ schema.title }}</h3>
<crud-show-directive ng-if="object"></crud-show-directive> <crud-show-directive ng-if="object"></crud-show-directive>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</td> </td>
<td ng-repeat="value in objects[0] track by $index" ng-if="objects[0]!='-1'">{{value}}</td> <td ng-repeat="value in objects[0] track by $index" ng-if="objects[0]!='-1'">{{value}}</td>
<td ng-if="objects[0]=='-1'">{{ schema.title||model}}</td> <td ng-if="objects[0]=='-1'">{{ schema.title||model}}</td>
<td>action</td> <td>İşlem</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
......
...@@ -28,8 +28,9 @@ ...@@ -28,8 +28,9 @@
<div class="panel-title">Hızlı İşlemler</div> <div class="panel-title">Hızlı İşlemler</div>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="col-md-6 text-center link-buttons" ng-repeat="menu in $root.quick_menu"> <div class="col-md-6 text-center link-buttons"
<a ng-repeat="item in menu" ng-repeat="item in $root.quick_menu track by $index">
<a
ng-href="#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}"> ng-href="#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}">
{{item.text}} {{item.text}}
</a> </a>
...@@ -114,7 +115,9 @@ ...@@ -114,7 +115,9 @@
<div class="panel-title">Duyurular</div> <div class="panel-title">Duyurular</div>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<a ng-click="markAsRead(notify)"
ng-repeat="notify in notifications[3] | limitTo:5">{{notify
.body}}</a>
</div> </div>
</div> </div>
</div> </div>
...@@ -134,6 +137,7 @@ ...@@ -134,6 +137,7 @@
<span><a role="button">Tüm Mesajlar</a></span> <span><a role="button">Tüm Mesajlar</a></span>
</div> </div>
<!-- end of right-sidebar-title --> <!-- end of right-sidebar-title -->
<p ng-show="notifications[2].length === 0" class="text-center">Görüntülenecek içerik yok.</p>
<div class="right-sidebar-message-block" ng-repeat="notify in notifications[2] | limitTo:5"> <div class="right-sidebar-message-block" ng-repeat="notify in notifications[2] | limitTo:5">
<a class="clearfix" ng-click="markAsRead(notify)"> <a class="clearfix" ng-click="markAsRead(notify)">
...@@ -162,6 +166,8 @@ ...@@ -162,6 +166,8 @@
<span><a role="button">Tüm Görevler</a></span> <span><a role="button">Tüm Görevler</a></span>
</div> </div>
<p ng-show="notifications[1].length === 0" class="text-center">Görüntülenecek içerik yok.</p>
<div class="right-sidebar-task-block"> <div class="right-sidebar-task-block">
<!--<div class="task-type">Onay Bekleyen Görevler</div>--> <!--<div class="task-type">Onay Bekleyen Görevler</div>-->
<a ng-click="markAsRead(notify)" ng-repeat="notify in notifications[1] | limitTo:5"> <a ng-click="markAsRead(notify)" ng-repeat="notify in notifications[1] | limitTo:5">
...@@ -176,25 +182,25 @@ ...@@ -176,25 +182,25 @@
<!-- end of right-sidebar-box --> <!-- end of right-sidebar-box -->
<div class="right-sidebar-box"> <!--<div class="right-sidebar-box">-->
<div class="right-sidebar-announcements"> <!--<div class="right-sidebar-announcements">-->
<div class="right-sidebar-title clearfix"> <!--<div class="right-sidebar-title clearfix">-->
<h3>Duyurular</h3> <!--<h3>Duyurular</h3>-->
<span><a role="button">Tüm Duyurular</a></span> <!--<span><a role="button">Tüm Duyurular</a></span>-->
</div> <!--</div>-->
<!-- end of right-sidebar-title --> <!--&lt;!&ndash; end of right-sidebar-title &ndash;&gt;-->
<div class="right-sidebar-announcement-block"> <!--<div class="right-sidebar-announcement-block">-->
<a ng-click="markAsRead(notify)" <!--<a ng-click="markAsRead(notify)"-->
ng-repeat="notify in notifications[3] | limitTo:5">{{notify <!--ng-repeat="notify in notifications[3] | limitTo:5">{{notify-->
.body}}</a> <!--.body}}</a>-->
</div> <!--</div>-->
<!-- end of right-sidebar-status-block --> <!--&lt;!&ndash; end of right-sidebar-status-block &ndash;&gt;-->
</div> <!--</div>-->
<!-- end of right-sidebar-status --> <!--&lt;!&ndash; end of right-sidebar-status &ndash;&gt;-->
</div> <!--</div>-->
<!-- end of right-sidebar-box --> <!-- end of right-sidebar-box -->
...@@ -206,6 +212,14 @@ ...@@ -206,6 +212,14 @@
<span><a role="button">Tüm İşlemler</a></span> <span><a role="button">Tüm İşlemler</a></span>
</div> </div>
<p class="text-center">Görüntülenecek içerik yok.</p>
<div class="right-sidebar-task-block">
<a>
<div class="task-title"></div>
</a>
</div>
</div> </div>
<!-- end of right-sidebar-status --> <!-- end of right-sidebar-status -->
</div> </div>
......
...@@ -347,6 +347,7 @@ app.directive('logout', function ($http, $location, RESTURL) { ...@@ -347,6 +347,7 @@ app.directive('logout', function ($http, $location, RESTURL) {
// quick menus to dashboard via rootscope // quick menus to dashboard via rootscope
$rootScope.quick_menu = reGroupMenuItems(data.quick_menu, 'quick_menus'); $rootScope.quick_menu = reGroupMenuItems(data.quick_menu, 'quick_menus');
$rootScope.quick_menu = data.quick_menu;
delete data.quick_menu; delete data.quick_menu;
$log.debug('quick menu', $rootScope.quick_menu); $log.debug('quick menu', $rootScope.quick_menu);
......
This diff is collapsed.
...@@ -21,7 +21,7 @@ angular.module("components/auth/login.html", []).run(["$templateCache", function ...@@ -21,7 +21,7 @@ angular.module("components/auth/login.html", []).run(["$templateCache", function
angular.module("components/crud/templates/crud.html", []).run(["$templateCache", function($templateCache) { angular.module("components/crud/templates/crud.html", []).run(["$templateCache", function($templateCache) {
$templateCache.put("components/crud/templates/crud.html", $templateCache.put("components/crud/templates/crud.html",
"<div class=\"row\">\n" + "<div class=\"container-fluid\">\n" +
" <div ng-class=\"{'col-md-8': meta.allow_filters}\">\n" + " <div ng-class=\"{'col-md-8': meta.allow_filters}\">\n" +
" <h3>{{ schema.title }}</h3>\n" + " <h3>{{ schema.title }}</h3>\n" +
" <crud-show-directive ng-if=\"object\"></crud-show-directive>\n" + " <crud-show-directive ng-if=\"object\"></crud-show-directive>\n" +
...@@ -182,7 +182,7 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache", ...@@ -182,7 +182,7 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
" </td>\n" + " </td>\n" +
" <td ng-repeat=\"value in objects[0] track by $index\" ng-if=\"objects[0]!='-1'\">{{value}}</td>\n" + " <td ng-repeat=\"value in objects[0] track by $index\" ng-if=\"objects[0]!='-1'\">{{value}}</td>\n" +
" <td ng-if=\"objects[0]=='-1'\">{{ schema.title||model}}</td>\n" + " <td ng-if=\"objects[0]=='-1'\">{{ schema.title||model}}</td>\n" +
" <td>action</td>\n" + " <td>İşlem</td>\n" +
" </tr>\n" + " </tr>\n" +
" </thead>\n" + " </thead>\n" +
" <tbody>\n" + " <tbody>\n" +
...@@ -299,8 +299,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache", ...@@ -299,8 +299,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <div class=\"panel-title\">Hızlı İşlemler</div>\n" + " <div class=\"panel-title\">Hızlı İşlemler</div>\n" +
" </div>\n" + " </div>\n" +
" <div class=\"panel-body\">\n" + " <div class=\"panel-body\">\n" +
" <div class=\"col-md-6 text-center link-buttons\" ng-repeat=\"menu in $root.quick_menu\">\n" + " <div class=\"col-md-6 text-center link-buttons\"\n" +
" <a ng-repeat=\"item in menu\"\n" + " ng-repeat=\"item in $root.quick_menu track by $index\">\n" +
" <a\n" +
" ng-href=\"#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}\">\n" + " ng-href=\"#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}\">\n" +
" {{item.text}}\n" + " {{item.text}}\n" +
" </a>\n" + " </a>\n" +
...@@ -385,7 +386,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache", ...@@ -385,7 +386,9 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <div class=\"panel-title\">Duyurular</div>\n" + " <div class=\"panel-title\">Duyurular</div>\n" +
" </div>\n" + " </div>\n" +
" <div class=\"panel-body\">\n" + " <div class=\"panel-body\">\n" +
"\n" + " <a ng-click=\"markAsRead(notify)\"\n" +
" ng-repeat=\"notify in notifications[3] | limitTo:5\">{{notify\n" +
" .body}}</a>\n" +
" </div>\n" + " </div>\n" +
" </div>\n" + " </div>\n" +
" </div>\n" + " </div>\n" +
...@@ -405,6 +408,7 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache", ...@@ -405,6 +408,7 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <span><a role=\"button\">Tüm Mesajlar</a></span>\n" + " <span><a role=\"button\">Tüm Mesajlar</a></span>\n" +
" </div>\n" + " </div>\n" +
" <!-- end of right-sidebar-title -->\n" + " <!-- end of right-sidebar-title -->\n" +
" <p ng-show=\"notifications[2].length === 0\" class=\"text-center\">Görüntülenecek içerik yok.</p>\n" +
"\n" + "\n" +
" <div class=\"right-sidebar-message-block\" ng-repeat=\"notify in notifications[2] | limitTo:5\">\n" + " <div class=\"right-sidebar-message-block\" ng-repeat=\"notify in notifications[2] | limitTo:5\">\n" +
" <a class=\"clearfix\" ng-click=\"markAsRead(notify)\">\n" + " <a class=\"clearfix\" ng-click=\"markAsRead(notify)\">\n" +
...@@ -433,6 +437,8 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache", ...@@ -433,6 +437,8 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <span><a role=\"button\">Tüm Görevler</a></span>\n" + " <span><a role=\"button\">Tüm Görevler</a></span>\n" +
" </div>\n" + " </div>\n" +
"\n" + "\n" +
" <p ng-show=\"notifications[1].length === 0\" class=\"text-center\">Görüntülenecek içerik yok.</p>\n" +
"\n" +
" <div class=\"right-sidebar-task-block\">\n" + " <div class=\"right-sidebar-task-block\">\n" +
" <!--<div class=\"task-type\">Onay Bekleyen Görevler</div>-->\n" + " <!--<div class=\"task-type\">Onay Bekleyen Görevler</div>-->\n" +
" <a ng-click=\"markAsRead(notify)\" ng-repeat=\"notify in notifications[1] | limitTo:5\">\n" + " <a ng-click=\"markAsRead(notify)\" ng-repeat=\"notify in notifications[1] | limitTo:5\">\n" +
...@@ -447,25 +453,25 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache", ...@@ -447,25 +453,25 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <!-- end of right-sidebar-box -->\n" + " <!-- end of right-sidebar-box -->\n" +
"\n" + "\n" +
"\n" + "\n" +
" <div class=\"right-sidebar-box\">\n" + " <!--<div class=\"right-sidebar-box\">-->\n" +
" <div class=\"right-sidebar-announcements\">\n" + " <!--<div class=\"right-sidebar-announcements\">-->\n" +
"\n" + "\n" +
" <div class=\"right-sidebar-title clearfix\">\n" + " <!--<div class=\"right-sidebar-title clearfix\">-->\n" +
" <h3>Duyurular</h3>\n" + " <!--<h3>Duyurular</h3>-->\n" +
" <span><a role=\"button\">Tüm Duyurular</a></span>\n" + " <!--<span><a role=\"button\">Tüm Duyurular</a></span>-->\n" +
" </div>\n" + " <!--</div>-->\n" +
" <!-- end of right-sidebar-title -->\n" + " <!--&lt;!&ndash; end of right-sidebar-title &ndash;&gt;-->\n" +
"\n" + "\n" +
" <div class=\"right-sidebar-announcement-block\">\n" + " <!--<div class=\"right-sidebar-announcement-block\">-->\n" +
" <a ng-click=\"markAsRead(notify)\"\n" + " <!--<a ng-click=\"markAsRead(notify)\"-->\n" +
" ng-repeat=\"notify in notifications[3] | limitTo:5\">{{notify\n" + " <!--ng-repeat=\"notify in notifications[3] | limitTo:5\">{{notify-->\n" +
" .body}}</a>\n" + " <!--.body}}</a>-->\n" +
" </div>\n" + " <!--</div>-->\n" +
" <!-- end of right-sidebar-status-block -->\n" + " <!--&lt;!&ndash; end of right-sidebar-status-block &ndash;&gt;-->\n" +
"\n" + "\n" +
" </div>\n" + " <!--</div>-->\n" +
" <!-- end of right-sidebar-status -->\n" + " <!--&lt;!&ndash; end of right-sidebar-status &ndash;&gt;-->\n" +
" </div>\n" + " <!--</div>-->\n" +
" <!-- end of right-sidebar-box -->\n" + " <!-- end of right-sidebar-box -->\n" +
"\n" + "\n" +
"\n" + "\n" +
...@@ -477,6 +483,14 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache", ...@@ -477,6 +483,14 @@ angular.module("components/dashboard/dashboard.html", []).run(["$templateCache",
" <span><a role=\"button\">Tüm İşlemler</a></span>\n" + " <span><a role=\"button\">Tüm İşlemler</a></span>\n" +
" </div>\n" + " </div>\n" +
"\n" + "\n" +
" <p class=\"text-center\">Görüntülenecek içerik yok.</p>\n" +
"\n" +
" <div class=\"right-sidebar-task-block\">\n" +
" <a>\n" +
" <div class=\"task-title\"></div>\n" +
" </a>\n" +
" </div>\n" +
"\n" +
" </div>\n" + " </div>\n" +
" <!-- end of right-sidebar-status -->\n" + " <!-- end of right-sidebar-status -->\n" +
" </div>\n" + " </div>\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment