Sha256: 19eba361483906b1741b5a39a4baa50feff4eb2c3a1ebccd18d597fadc6e675a

Contents?: true

Size: 288 Bytes

Versions: 53

Compression:

Stored size: 288 Bytes

Contents

import React from 'react';
import { cellFormatter } from 'foremanReact/components/common/table';

export const actionNameCellFormatter = url => (value, { rowData: { id } }) =>
  cellFormatter(
    <a href={`/${url}/${id}`} className="action-name-tasks-table">
      {value}
    </a>
  );

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-10.0.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-10.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.2.3 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.2.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.2.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.2.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.1.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.0.4 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.1.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.0.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.0.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.3.3 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-9.0.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.2.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.1.4 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.3.2 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.3.1 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.1.3 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js
foreman-tasks-8.3.0 webpack/ForemanTasks/Components/TasksTable/formatters/actionNameCellFormatter.js