Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
68f098cb
Commit
68f098cb
authored
Sep 08, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add id to rows
parent
d2b90430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
debomatic-webui/public/javascripts/page_history.js
debomatic-webui/public/javascripts/page_history.js
+6
-1
No files found.
debomatic-webui/public/javascripts/page_history.js
View file @
68f098cb
...
@@ -23,6 +23,11 @@ function Page_History() {
...
@@ -23,6 +23,11 @@ function Page_History() {
return
date
.
toLocaleDateString
(
locale
,
options
);
return
date
.
toLocaleDateString
(
locale
,
options
);
}
}
function
_get_id
(
package_status
)
{
var
p
=
package_status
;
return
"
package/
"
+
p
.
distribution
+
"
/
"
+
p
.
package
;
}
function
_add_row
(
package_status
)
{
function
_add_row
(
package_status
)
{
var
p
=
package_status
;
var
p
=
package_status
;
var
info
=
Utils
.
get_status_icon_and_class
(
p
);
var
info
=
Utils
.
get_status_icon_and_class
(
p
);
...
@@ -30,7 +35,7 @@ function Page_History() {
...
@@ -30,7 +35,7 @@ function Page_History() {
var
distribution_url
=
Utils
.
get_url_to_package
({
var
distribution_url
=
Utils
.
get_url_to_package
({
'
distribution
'
:
p
.
distribution
'
distribution
'
:
p
.
distribution
});
});
var
row
=
'
<tr>
'
;
var
row
=
'
<tr
id="
'
+
_get_id
(
package_status
)
+
'
"
>
'
;
var
package_url
=
Utils
.
get_url_to_package
(
p
);
var
package_url
=
Utils
.
get_url_to_package
(
p
);
row
+=
'
<td><a href="
'
+
distribution_url
+
'
">
'
+
p
.
distribution
+
'
</a></td>
'
;
row
+=
'
<td><a href="
'
+
distribution_url
+
'
">
'
+
p
.
distribution
+
'
</a></td>
'
;
row
+=
'
<td><a href="
'
+
package_url
+
'
">
'
+
p
.
package
+
'
</td>
'
;
row
+=
'
<td><a href="
'
+
package_url
+
'
">
'
+
p
.
package
+
'
</td>
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment