|
15 | 15 | <li class="nav-item"> |
16 | 16 | <a id="Tab_Options" class="nav-link active" href="#Group_Options" data-toggle="tab" role="tab" aria-controls="#Group_Options" aria-expanded="true">Options</a> |
17 | 17 | </li> |
| 18 | + <li class="nav-item"> |
| 19 | + <a id="Tab_LastModified" class="nav-link" href="#Group_LastModified" data-toggle="tab" role="tab" aria-controls="#Group_LastModified" aria-expanded="true">Attribution</a> |
| 20 | + </li> |
18 | 21 | <li class="nav-item"> |
19 | 22 | <a id="Tab_Advanced" class="nav-link" href="#Group_Advanced" data-toggle="tab" role="tab" aria-controls="#Group_Advanced" aria-expanded="true">Advanced</a> |
20 | 23 | </li> |
|
34 | 37 |
|
35 | 38 | <div class="col-lg-9 col-sm-12"> |
36 | 39 | <div id="DisplayGroupTabsContent" class="tab-content tab-validate"> |
| 40 | + |
37 | 41 | <div id="Group_Options" class="tab-pane fade show active" role="tabpanel" aria-labelledby="Tab_Options"> |
38 | 42 | <section id="Section_Options"> |
39 | 43 |
|
|
72 | 76 |
|
73 | 77 | </section> |
74 | 78 | </div> |
| 79 | + |
| 80 | + <div id="Group_LastModified" class="tab-pane fade" role="tabpanel" aria-labelledby="Tab_LastModified"> |
| 81 | + <section id="Section_LastModified"> |
| 82 | + |
| 83 | + <h2>Attribution</h2> |
| 84 | + <p> |
| 85 | + Offers granular control over how the byline ("Last Modified By") and dateline ("Last Modified") are updated as part of the import process. |
| 86 | + </p> |
| 87 | + |
| 88 | + <h3>Byline</h3> |
| 89 | + <section class="attribute"> |
| 90 | + <label> |
| 91 | + <input type="radio" asp-for="ImportOptions.LastModifiedByStrategy" value="@LastModifiedImportStrategy.Inherit" /> Use Import Strategy |
| 92 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Will treat the byline just like any other attribute, merging it according to the import strategy."></i> |
| 93 | + </label> |
| 94 | + <br /> |
| 95 | + <label> |
| 96 | + <input type="radio" asp-for="ImportOptions.LastModifiedByStrategy" value="@LastModifiedImportStrategy.TargetValue" /> Previous Value |
| 97 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Will always retain the existing byline, if present."></i> |
| 98 | + </label> |
| 99 | + <br /> |
| 100 | + <label> |
| 101 | + <input type="radio" asp-for="ImportOptions.LastModifiedByStrategy" value="@LastModifiedImportStrategy.Current" /> Current User (@(Context.User.Identity.Name?? "System")) |
| 102 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Updates the byline to the current user, just like it would when manually updating a topic via the editor."></i> |
| 103 | + </label> |
| 104 | + <br /> |
| 105 | + <label> |
| 106 | + <input type="radio" asp-for="ImportOptions.LastModifiedByStrategy" value="@LastModifiedImportStrategy.System" /> System |
| 107 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Updates the byline to 'System', which indicates that this was part of a system update and shouldn't be assigned to a specific contributor."></i> |
| 108 | + </label> |
| 109 | + </section> |
| 110 | + |
| 111 | + <h3>Dateline</h3> |
| 112 | + <section class="attribute"> |
| 113 | + <label> |
| 114 | + <input type="radio" asp-for="ImportOptions.LastModifiedStrategy" value="@LastModifiedImportStrategy.Inherit" /> Use Import Strategy |
| 115 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Will treat the dateline just like any other attribute, merging it according to the import strategy."></i> |
| 116 | + </label> |
| 117 | + <br /> |
| 118 | + <label> |
| 119 | + <input type="radio" asp-for="ImportOptions.LastModifiedStrategy" value="@LastModifiedImportStrategy.TargetValue" /> Previous Value |
| 120 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Will always retain the existing last modified date, if present."></i> |
| 121 | + </label> |
| 122 | + <br /> |
| 123 | + <label> |
| 124 | + <input type="radio" asp-for="ImportOptions.LastModifiedStrategy" value="@LastModifiedImportStrategy.Current" /> Current Time (@DateTime.Now.ToString("g")) |
| 125 | + <i class="fa fa-info-circle" data-toggle="tooltip" data-placement="right" title="Updates the dateline to the current time, just like it would when manually updating a topic via the editor."></i> |
| 126 | + </label> |
| 127 | + <br /> |
| 128 | + </section> |
| 129 | + |
| 130 | + </section> |
| 131 | + </div> |
| 132 | + |
75 | 133 | <div id="Group_Advanced" class="tab-pane fade" role="tabpanel" aria-labelledby="Tab_Advanced"> |
76 | 134 | <section id="Section_Advanced"> |
77 | 135 |
|
|
111 | 169 |
|
112 | 170 | </section> |
113 | 171 | </div> |
| 172 | + |
114 | 173 | </div> |
115 | 174 | </div> |
116 | 175 |
|
|
0 commit comments