Commit 73e967d2 authored by Evren Kutar's avatar Evren Kutar

search fix

table index removed
parent b4c649cf
......@@ -10,7 +10,9 @@
angular.module('ulakbus.crud', ['ui.bootstrap', 'schemaForm', 'formService'])
.config(function (sfErrorMessageProvider) {
sfErrorMessageProvider.setDefaultMessage(302, 'Bu alan zorunludur.')
sfErrorMessageProvider.setDefaultMessage(302, 'Bu alan zorunludur.');
sfErrorMessageProvider.setDefaultMessage(200, 'En az {{schema.minLength}} değer giriniz.');
sfErrorMessageProvider.setDefaultMessage(201, 'En fazla {{schema.minLength}} değer giriniz.');
})
/**
......
......@@ -12,8 +12,8 @@
<table class="table table-bordered" style="background-color:#fff;">
<thead>
<tr>
<td colspan="2">
<label ng-if="meta.allow_selection === true">
<td ng-if="meta.allow_selection === true">
<label>
<input type="checkbox" style="zoom:1.5; margin:5px 0 0 8px;">
Hepsini Seç
</label>
......@@ -25,12 +25,12 @@
</thead>
<tbody>
<tr ng-repeat="object in objects" ng-if="$index>0">
<td width="60">
<label ng-if="meta.allow_selection === true">
<td width="60" ng-if="meta.allow_selection === true">
<label>
<input type="checkbox" style="zoom:1.5; margin:5px 0 0 8px;">
</label>
</td>
<td scope="row" style="text-align:center">{{$index}}</td>
<!--<td scope="row" style="text-align:center">{{$index}}</td>-->
<td ng-repeat="field in object.fields track by $index">
<a role="button" ng-if="field.type==='link'"
......
......@@ -902,7 +902,8 @@ angular.module('formService', ['ui.bootstrap'])
"cmd": $scope.form_params.cmd,
"flow": $scope.form_params.flow,
"object_id": $scope.object_id,
"filter": $scope.filter
"filter": $scope.filter,
"query": $scope.form_params.query
};
return $http.post(generator.makeUrl($scope), data)
......
This diff is collapsed.
......@@ -175,8 +175,8 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
" <table class=\"table table-bordered\" style=\"background-color:#fff;\">\n" +
" <thead>\n" +
" <tr>\n" +
" <td colspan=\"2\">\n" +
" <label ng-if=\"meta.allow_selection === true\">\n" +
" <td ng-if=\"meta.allow_selection === true\">\n" +
" <label>\n" +
" <input type=\"checkbox\" style=\"zoom:1.5; margin:5px 0 0 8px;\">\n" +
" Hepsini Seç\n" +
" </label>\n" +
......@@ -188,12 +188,12 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
" </thead>\n" +
" <tbody>\n" +
" <tr ng-repeat=\"object in objects\" ng-if=\"$index>0\">\n" +
" <td width=\"60\">\n" +
" <label ng-if=\"meta.allow_selection === true\">\n" +
" <td width=\"60\" ng-if=\"meta.allow_selection === true\">\n" +
" <label>\n" +
" <input type=\"checkbox\" style=\"zoom:1.5; margin:5px 0 0 8px;\">\n" +
" </label>\n" +
" </td>\n" +
" <td scope=\"row\" style=\"text-align:center\">{{$index}}</td>\n" +
" <!--<td scope=\"row\" style=\"text-align:center\">{{$index}}</td>-->\n" +
"\n" +
" <td ng-repeat=\"field in object.fields track by $index\">\n" +
" <a role=\"button\" ng-if=\"field.type==='link'\"\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