wxiaoguang
ec261b63e1
Refactor repo commit list ( #23690 )
...
### Before
* The check of `if PullRequest.BaseRepo.Name` doesn't make sense,
because the `$commitLink` is always constructed below
* Many `if` blocks make the HTML tags (likely) not match in IDE.
Although the rendered result matches, it's very unfriendly to editors or
code analyzer, and it's difficult to read.
### After
Move the `$commitLink` assignment ahead.
Simplify the code, resolve the above problems.
2023-03-27 15:44:51 +01:00
..
2023-03-24 18:35:38 +08:00
2023-03-24 18:35:38 +08:00
2023-03-24 18:35:38 +08:00
2023-03-26 20:06:11 +08:00
2023-03-26 13:25:41 +08:00
2023-02-19 12:06:14 +08:00
2023-02-15 21:37:34 +08:00
2023-03-24 18:35:38 +08:00
2023-03-14 11:34:09 +08:00
2023-03-27 13:15:41 +08:00
2023-03-24 18:35:38 +08:00
2023-03-27 21:41:33 +08:00
2023-03-26 20:06:11 +08:00
2023-03-24 18:35:38 +08:00
2023-03-05 22:59:05 +01:00
2023-03-24 18:35:38 +08:00
2023-03-14 17:51:20 +08:00
2023-03-24 18:35:38 +08:00
2023-02-09 17:29:13 +08:00
2023-03-24 18:35:38 +08:00
2023-03-13 16:05:19 -05:00
2023-02-20 16:43:04 +08:00
2023-03-27 15:44:51 +01:00
2023-03-05 22:59:05 +01:00
2023-03-24 18:35:38 +08:00
2023-02-13 17:59:59 +00:00
2023-01-24 22:36:48 -05:00
2023-03-24 18:35:38 +08:00
2023-02-01 22:56:10 +00:00
2023-03-24 18:35:38 +08:00
2023-02-15 21:37:34 +08:00
2023-02-19 12:06:14 +08:00
2023-03-24 18:35:38 +08:00
2023-03-26 19:31:26 +08:00
2023-02-13 17:59:59 +00:00
2023-02-01 22:56:10 +00:00
2023-03-24 15:11:23 +08:00
2023-03-24 18:35:38 +08:00
2023-02-16 09:37:11 +08:00
2023-03-24 18:35:38 +08:00
2023-03-14 11:34:09 +08:00
2022-06-27 15:58:46 -05:00
2023-02-15 21:37:34 +08:00
2023-03-24 18:35:38 +08:00
2023-02-23 14:28:18 -06:00
2023-02-01 22:56:10 +00:00